mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 19:46:55 +08:00
Revert -flto=auto on mingw
causes issues on some installations (glinscott/fishtest#1255). closes https://github.com/official-stockfish/Stockfish/pull/3898 No functional change
This commit is contained in:
@@ -683,7 +683,7 @@ ifeq ($(debug), no)
|
||||
# the tool chain requires gcc version 10.1 or later.
|
||||
else ifeq ($(comp),mingw)
|
||||
ifneq ($(arch),i386)
|
||||
CXXFLAGS += -flto=auto
|
||||
CXXFLAGS += -flto
|
||||
LDFLAGS += $(CXXFLAGS) -save-temps
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user