Merge pull request #1963 from akien-mga/master
Fix building release target with debug symbols
This commit is contained in:
commit
f8f3362cab
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue