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-Tag: mesa-9.1-rc1~212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a0973044ed097a6b33b9e1c7c74045fd1affa19;p=platform%2Fupstream%2Fmesa.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 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 += [