From: José Fonseca Date: Tue, 8 Mar 2011 13:18:56 +0000 (+0000) Subject: scons: Disable frame pointer omission for all build types except release. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a0973044ed097a6b33b9e1c7c74045fd1affa19;p=mesa.git scons: Disable frame pointer omission for all build types except release. In particular for checked builds, where debug_backtrace_capture relies on it. --- 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 += [