diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-30 10:06:18 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-30 10:06:18 -0300 |
commit | 21939ce08b042b8cfcff16da780a4595aac500cd (patch) | |
tree | 6a6f8dd85426de1863e2802a725e6dc7b2e648bb /platform | |
parent | 7773d70f449ae8dd66691661fe3ed86d1cabf219 (diff) |
-some cleanups
-added tesselation function to curve and curve2d
Diffstat (limited to 'platform')
-rw-r--r-- | platform/x11/detect.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 4ecd23204f..7fa1666c59 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -55,6 +55,7 @@ def get_opts(): ('use_leak_sanitizer','Use llvm compiler sanitize memory leaks','no'), ('pulseaudio','Detect & Use pulseaudio','yes'), ('new_wm_api', 'Use experimental window management API','no'), + ('debug_release', 'Add debug symbols to release version','no'), ] def get_flags(): @@ -109,7 +110,10 @@ def configure(env): if (env["target"]=="release"): - env.Append(CCFLAGS=['-O2','-ffast-math','-fomit-frame-pointer']) + if (env["debug_release"]): + env.Append(CCFLAGS=['-g2','-fomit-frame-pointer']) + else: + env.Append(CCFLAGS=['-O2','-ffast-math','-fomit-frame-pointer']) elif (env["target"]=="release_debug"): |