summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-06-04 10:34:02 -0700
committerJosé Fonseca <jfonseca@vmware.com>2009-06-08 11:13:41 +0100
commit78dad275646b720511dac31ca6ba0535568af81f (patch)
tree65895d87faa321be25fe5e618d48343716dc7e3e /scons/gallium.py
parentcfff2a6189b38f1ee8c8ca204e223574a5abf760 (diff)
Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 0d5843603e9..5b3c9752bc4 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -362,23 +362,8 @@ def generate(env):
'/GL-', # disable whole program optimization
]
else:
- if env['machine'] == 'x86_64':
- cflags += [
- # Same as /O2, but without global optimizations or auto-inlining
- # http://msdn.microsoft.com/en-us/library/8f8h5cxt.aspx
- '/Ob1', # enable inline expansion, disable auto-inlining
- '/Oi', # enable intrinsic functions
- '/Ot', # favors fast code
- '/Oy', # omit frame pointer
- '/Gs', # enable stack probes
- '/GF', # eliminate duplicate strings
- '/Gy', # enable function-level linking
- ]
- else:
- cflags += [
- '/O2', # optimize for speed
- ]
cflags += [
+ '/O2', # optimize for speed
#'/fp:fast', # fast floating point
]
if env['profile']: