aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-04-04 09:15:56 -0400
committerJack Lloyd <[email protected]>2017-04-04 09:15:56 -0400
commit0ed70091083c3a2ead5080868370a59202a8dc0f (patch)
treed2f44498e806c312009bf0f089cb7d619d121f20 /src
parent274ecccd1784fb6cfee83ea5a0a6cbec31881c81 (diff)
parent1671541d2af24f3a4f69e5d3ed7f4a3d4b19012f (diff)
Merge GH #940 Add flags for MSVC for code size optimization
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/msvc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index edf34017d..4d97f9d57 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -10,8 +10,8 @@ add_lib_option ""
compile_flags "/nologo /c"
-optimization_flags "/O2"
-size_optimization_flags "/O1"
+optimization_flags "/O2 /Oi"
+size_optimization_flags "/O1 /Os"
# for debug info in the object file:
#debug_info_flags "/Z7"