mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
scons: Disable frame pointer omission for all build types except release.
In particular for checked builds, where debug_backtrace_capture relies on it.
This commit is contained in:
parent
de0057caa6
commit
9a0973044e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 += [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue