mirror of
https://github.com/git/git.git
synced 2026-01-20 07:31:35 +00:00
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 <jeffhost@microsoft.com>
This commit is contained in:
committed by
Johannes Schindelin
parent
aeec597c49
commit
5ee54e0522
@@ -429,7 +429,7 @@ ifeq ($(uname_S),Windows)
|
||||
BASIC_CFLAGS += -Zi
|
||||
BASIC_LDFLAGS += -debug
|
||||
ifndef DEBUG
|
||||
BASIC_CFLAGS += -GL -Gy -Os -Oy- -MD -DNDEBUG
|
||||
BASIC_CFLAGS += -GL -Gy -O2 -Oy- -MD -DNDEBUG
|
||||
BASIC_LDFLAGS += -release -LTCG /OPT:REF /OPT:ICF /INCREMENTAL:NO /DEBUGTYPE:CV,FIXUP
|
||||
AR += -LTCG
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user