Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together

This commit is contained in:
koalefant 2015-11-29 20:56:27 +01:00
parent b0dbcccb6c
commit bd396c5cfa

View file

@ -118,6 +118,8 @@ def configure(env):
elif (env["target"]=="release_debug"): elif (env["target"]=="release_debug"):
env.Append(CCFLAGS=['-O2','-ffast-math','-DDEBUG_ENABLED']) env.Append(CCFLAGS=['-O2','-ffast-math','-DDEBUG_ENABLED'])
if (env["debug_release"]=="yes"):
env.Append(CCFLAGS=['-g2'])
elif (env["target"]=="debug"): elif (env["target"]=="debug"):