Index: SConstruct |
=================================================================== |
--- SConstruct (revision 384) |
+++ SConstruct (working copy) |
@@ -53,7 +53,7 @@ |
'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'] |
}, |
'mode:release': { |
- 'CCFLAGS': ['-O2'] |
+ 'CCFLAGS': ['-O9', '-mtune=nocona', '-march=pentium'] |
}, |
'wordsize:64': { |
'CCFLAGS': ['-m32'], |
@@ -137,7 +137,7 @@ |
DTOA_EXTRA_FLAGS = { |
'gcc': { |
'all': { |
- 'WARNINGFLAGS': ['-Werror'] |
+ 'WARNINGFLAGS': ['-Werror', '-fno-strict-aliasing'] |
} |
}, |
'msvc': { |
@@ -188,7 +188,7 @@ |
'LINKFLAGS': ['-m32'] |
}, |
'mode:release': { |
- 'CCFLAGS': ['-O2'] |
+ 'CCFLAGS': ['-O2', '-mtune=nocona', '-march=pentium'] |
}, |
'mode:debug': { |
'CCFLAGS': ['-g', '-O0'] |