summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-03-08 13:18:56 +0000
committerJosé Fonseca <jfonseca@vmware.com>2013-01-22 20:19:28 +0000
commit9a0973044ed097a6b33b9e1c7c74045fd1affa19 (patch)
treeb5fe266b3bbfc91e87c1f880357090de9f5786a5 /scons
parentde0057caa66207c5eb94bd251ab357309f78b60c (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-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 7207c6bb26..a8b1f0301e 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 += [