Index: SConstruct |
=================================================================== |
--- SConstruct (revision 404) |
+++ SConstruct (working copy) |
@@ -77,8 +77,9 @@ |
'LINKFLAGS': ['/DEBUG'] |
}, |
'mode:release': { |
- 'CCFLAGS': ['/Ox', '/MT', '/GF'], |
- 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF'] |
+ 'CCFLAGS': ['/O2', '/MT', '/GL'], |
+ 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'], |
+ 'ARFLAGS': ['/LTCG'] |
} |
} |
} |
@@ -205,8 +206,8 @@ |
'LINKFLAGS': ['/MAP'] |
}, |
'mode:release': { |
- 'CCFLAGS': ['/Ox', '/MT', '/GF'], |
- 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF'] |
+ 'CCFLAGS': ['/O2', '/MT'], |
+ 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'] |
}, |
'mode:debug': { |
'CCFLAGS': ['/Od', '/MTd'], |