]> git.sesse.net Git - stockfish/commitdiff
Revert -flto=auto on mingw
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 20 Jan 2022 16:49:27 +0000 (17:49 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 20 Jan 2022 17:34:16 +0000 (18:34 +0100)
causes issues on some installations (glinscott/fishtest#1255).

closes https://github.com/official-stockfish/Stockfish/pull/3898

No functional change

src/Makefile

index 1b1212994881508ef9f021c33449758e68c3fa70..5f3e739f788fc47fa182ba54be5ad8d7492d9fa7 100644 (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