Fix building release target with debug symbols
This forced the -g2 CCFLAG in release builds, making them relatively heavy. Fixes #1781.
This commit is contained in:
parent
d3b42e41b0
commit
5f0bb18d55
|
@ -109,8 +109,8 @@ def configure(env):
|
|||
|
||||
|
||||
if (env["target"]=="release"):
|
||||
|
||||
if (env["debug_release"]):
|
||||
|
||||
if (env["debug_release"]=="yes"):
|
||||
env.Append(CCFLAGS=['-g2','-fomit-frame-pointer'])
|
||||
else:
|
||||
env.Append(CCFLAGS=['-O2','-ffast-math','-fomit-frame-pointer'])
|
||||
|
|
Loading…
Reference in New Issue