diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-05-07 08:00:42 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-05-08 14:57:30 +0100 |
commit | 222d7841e939d13bf29148c0cba5c7513050fa1e (patch) | |
tree | 8f571e3d0b3b482b47bba604a43b447b6d42763f /scons/gallium.py | |
parent | ee7982718685cd2398a895caf5e7cd90b6ee12f9 (diff) | |
download | external_mesa3d-222d7841e939d13bf29148c0cba5c7513050fa1e.zip external_mesa3d-222d7841e939d13bf29148c0cba5c7513050fa1e.tar.gz external_mesa3d-222d7841e939d13bf29148c0cba5c7513050fa1e.tar.bz2 |
scons: mingw is broken with -O1 and higher
Diffstat (limited to 'scons/gallium.py')
-rw-r--r-- | scons/gallium.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 696ddd0..c7e74d7 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -317,6 +317,8 @@ def generate(env): if gcc: if debug: cflags += ['-O0', '-g3'] + elif env['toolchain'] == 'crossmingw': + cflags += ['-O0', '-g3'] # mingw 4.2.1 optimizer is broken else: cflags += ['-O3', '-g3'] if env['profile']: |