From 9a0973044ed097a6b33b9e1c7c74045fd1affa19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 8 Mar 2011 13:18:56 +0000 Subject: [PATCH] scons: Disable frame pointer omission for all build types except release. In particular for checked builds, where debug_backtrace_capture relies on it. --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/gallium.py b/scons/gallium.py index 7207c6b..a8b1f03 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 += [ -- 2.7.4