1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-06-28 00:19:50 +00: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:
Joost VandeVondele 2022-01-20 17:49:27 +01:00
parent 67062637f4
commit 77cf5704b6

View file

@ -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