Merge pull request #2954 from koalefant/release-debug-release
scons: enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
This commit is contained in:
commit
5e0419012a
|
@ -118,6 +118,8 @@ def configure(env):
|
|||
elif (env["target"]=="release_debug"):
|
||||
|
||||
env.Append(CCFLAGS=['-O2','-ffast-math','-DDEBUG_ENABLED'])
|
||||
if (env["debug_release"]=="yes"):
|
||||
env.Append(CCFLAGS=['-g2'])
|
||||
|
||||
elif (env["target"]=="debug"):
|
||||
|
||||
|
|
Loading…
Reference in New Issue