Fix CFLAGS in config.lib with respect to profiling
commit2d0177fb5fb239aaf73bdc3ab7a1cfdac711c029
authorrubidium <rubidium@openttd.org>
Sat, 16 Aug 2014 10:17:18 +0000 (16 10:17 +0000)
committercirdan <cirdansw@gmail.com>
Tue, 26 Aug 2014 08:15:55 +0000 (26 10:15 +0200)
treef1f4376f7debc781157a568d846a64a56073ece2
parent6c2d03019f1db61bf469dd74147ee7bbe41f30e8
Fix CFLAGS in config.lib with respect to profiling

(openttd 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

(openttd r26737) -Fix (r26735): one = too many... why can't all
languages use the same basic definition for comparisons?
config.lib