Skip to content

Commit a25eb0b

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 50b71a3 commit a25eb0b

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

0 commit comments

Comments
 (0)