Files
@ r21605:95c0c9aca14a
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf_debug.h
r21605:95c0c9aca14a
1.8 KiB
text/x-c
(svn r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a -p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof would be used (via make run-prof). Furthermore -pg isn't compatible with -fomit-frame-pointer on certain architectures (most importantly x86(_64)), so simply don't enable that flag when profiling is enabled