From 77cf5704b6deda52171dafeb2fae370273ebd797 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Thu, 20 Jan 2022 17:49:27 +0100 Subject: [PATCH] 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 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 1b121299..5f3e739f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 -- 2.39.2