diff options
author | José Fonseca <[email protected]> | 2011-03-08 13:18:56 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-01-22 20:19:28 +0000 |
commit | 9a0973044ed097a6b33b9e1c7c74045fd1affa19 (patch) | |
tree | b5fe266b3bbfc91e87c1f880357090de9f5786a5 /scons | |
parent | de0057caa66207c5eb94bd251ab357309f78b60c (diff) |
scons: Disable frame pointer omission for all build types except release.
In particular for checked builds, where debug_backtrace_capture relies
on it.
Diffstat (limited to 'scons')
-rwxr-xr-x | scons/gallium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 7207c6bb26c..a8b1f0301e2 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -399,7 +399,6 @@ def generate(env): ccflags += [ '/Od', # disable optimizations '/Oi', # enable intrinsic functions - '/Oy-', # disable frame pointer omission ] else: ccflags += [ @@ -411,6 +410,7 @@ def generate(env): ] else: ccflags += [ + '/Oy-', # disable frame pointer omission '/GL-', # disable whole program optimization ] ccflags += [ |