X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=880710fe8a7688f6f1e65afa3f4d8232ea076ad1;hb=93f71ecfe1d26e5ccc813318f420b8363cd26003;hp=8315f33d6b08ff7b797f867ab6b54e3c596e0080;hpb=a4d18d23a9f7626234fcfbb6b23b3d0b8d1a9441;p=stockfish diff --git a/src/Makefile b/src/Makefile index 8315f33d..880710fe 100644 --- a/src/Makefile +++ b/src/Makefile @@ -698,11 +698,9 @@ ifeq ($(debug), no) # To use LTO and static linking on Windows, # the tool chain requires gcc version 10.1 or later. else ifeq ($(comp),mingw) - ifneq ($(arch),i386) - CXXFLAGS += -flto + CXXFLAGS += -flto -flto-partition=one LDFLAGS += $(CXXFLAGS) -save-temps endif - endif endif endif