Skip to content

Commit 0a970d4

Browse files
jeffhostetlerdscho
authored andcommitted
vs2015: turn on optimize-for-speed in release build
Set -O2 (maximize speed) rather than -Os (favor small code) for non-debug builds. Signed-off-by: Jeff Hostetler <[email protected]>
1 parent bec3db1 commit 0a970d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.mak.uname

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ ifeq ($(uname_S),Windows)
421421
BASIC_CFLAGS += -Zi
422422
BASIC_LDFLAGS += -debug
423423
ifndef DEBUG
424-
BASIC_CFLAGS += -GL -Gy -Os -Oy- -MD -DNDEBUG
424+
BASIC_CFLAGS += -GL -Gy -O2 -Oy- -MD -DNDEBUG
425425
BASIC_LDFLAGS += -release -LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /DEBUGTYPE:CV,FIXUP
426426
AR += -LTCG
427427
else

0 commit comments

Comments
 (0)