diff options
author | koalefant <mandarin.cake@gmail.com> | 2015-11-29 20:56:27 +0100 |
---|---|---|
committer | koalefant <mandarin.cake@gmail.com> | 2015-11-29 20:56:27 +0100 |
commit | bd396c5cfa3041b3d47b3bfd0ac44cc832d9f53f (patch) | |
tree | 9a22cd1e3d2e1b22cf0852bcbc0847b8a7885e53 /platform/x11/detect.py | |
parent | b0dbcccb6c430cdf8a8f050676427f2414037ef7 (diff) |
Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index a37005738a..d996587864 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -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"): |