Skip to content

Commit ef56237

Browse files
jeffhostetlerGit for Windows Build Agent
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 6596871 commit ef56237

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
@@ -439,7 +439,7 @@ ifeq ($(uname_S),Windows)
439439
BASIC_CFLAGS += -Zi
440440
BASIC_LDFLAGS += -debug
441441
ifndef DEBUG
442-
BASIC_CFLAGS += -GL -Gy -Os -Oy- -MD -DNDEBUG
442+
BASIC_CFLAGS += -GL -Gy -O2 -Oy- -MD -DNDEBUG
443443
BASIC_LDFLAGS += -release -LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /DEBUGTYPE:CV,FIXUP
444444
AR += -LTCG
445445
else

0 commit comments

Comments
 (0)