Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 4 Jun 2009 17:34:02 +0000 (10:34 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 8 Jun 2009 10:13:41 +0000 (11:13 +0100)
This reverts commit fc7f92478286041a018ac4e72d2ccedeea7c0eca.

scons/gallium.py

index 0d58436..5b3c975 100644 (file)
@@ -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']: