summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-12-16 13:37:03 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-12-16 13:41:18 +0000
commit9d1bfb2b0bdb400ad37857ac6bc58ed25cd9fd1f (patch)
tree9f4e3212b6a92cd61642cb25e83f8b2129fd7bd1
parent587166dbbb5c18d312842a922d1fb01819f0a8b7 (diff)
Tweak MSVC optimization flags.
-rw-r--r--src/SConstruct4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SConstruct b/src/SConstruct
index 0eee3b2..0e5c0cd 100644
--- a/src/SConstruct
+++ b/src/SConstruct
@@ -97,9 +97,7 @@ if env['msvc']:
]
else:
ccflags += [
- '/Ox', # maximum optimizations
- '/Oi', # enable intrinsic functions
- '/Ot', # favor code speed
+ '/O2', # optimize for speed
]
ccflags += [
'/EHsc', # set exception handling model