summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py40
1 files changed, 13 insertions, 27 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 0d5843603e..6e924da303 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -42,17 +42,18 @@ import SCons.Scanner
def quietCommandLines(env):
# Quiet command lines
# See also http://www.scons.org/wiki/HidingCommandLinesInOutput
- env['ASCOMSTR'] = "Assembling $SOURCE ..."
- env['CCCOMSTR'] = "Compiling $SOURCE ..."
- env['SHCCCOMSTR'] = "Compiling $SOURCE ..."
- env['CXXCOMSTR'] = "Compiling $SOURCE ..."
- env['SHCXXCOMSTR'] = "Compiling $SOURCE ..."
- env['ARCOMSTR'] = "Archiving $TARGET ..."
- env['RANLIBCOMSTR'] = "Indexing $TARGET ..."
- env['LINKCOMSTR'] = "Linking $TARGET ..."
- env['SHLINKCOMSTR'] = "Linking $TARGET ..."
- env['LDMODULECOMSTR'] = "Linking $TARGET ..."
- env['SWIGCOMSTR'] = "Generating $TARGET ..."
+ env['ASCOMSTR'] = " Assembling $SOURCE ..."
+ env['ASPPCOMSTR'] = " Assembling $SOURCE ..."
+ env['CCCOMSTR'] = " Compiling $SOURCE ..."
+ env['SHCCCOMSTR'] = " Compiling $SOURCE ..."
+ env['CXXCOMSTR'] = " Compiling $SOURCE ..."
+ env['SHCXXCOMSTR'] = " Compiling $SOURCE ..."
+ env['ARCOMSTR'] = " Archiving $TARGET ..."
+ env['RANLIBCOMSTR'] = " Indexing $TARGET ..."
+ env['LINKCOMSTR'] = " Linking $TARGET ..."
+ env['SHLINKCOMSTR'] = " Linking $TARGET ..."
+ env['LDMODULECOMSTR'] = " Linking $TARGET ..."
+ env['SWIGCOMSTR'] = " Generating $TARGET ..."
def createConvenienceLibBuilder(env):
@@ -362,23 +363,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']: