diff options
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 7fa1666c59..85714c46bb 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -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']) |