Skip to content

Commit 43ab472

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 1d71b35 commit 43ab472

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
@@ -429,7 +429,7 @@ ifeq ($(uname_S),Windows)
429429
BASIC_CFLAGS += -Zi
430430
BASIC_LDFLAGS += -debug
431431
ifndef DEBUG
432-
BASIC_CFLAGS += -GL -Gy -Os -Oy- -MD -DNDEBUG
432+
BASIC_CFLAGS += -GL -Gy -O2 -Oy- -MD -DNDEBUG
433433
BASIC_LDFLAGS += -release -LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /DEBUGTYPE:CV,FIXUP
434434
AR += -LTCG
435435
else

0 commit comments

Comments
 (0)