Merge pull request #1963 from akien-mga/master

Fix building release target with debug symbols
This commit is contained in:
Juan Linietsky 2015-05-22 17:23:57 -03:00
commit f8f3362cab

View File

@ -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'])