]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Optimize make_index() using templates and lookup tables.
[stockfish] / src / Makefile
index 8315f33d6b08ff7b797f867ab6b54e3c596e0080..880710fe8a7688f6f1e65afa3f4d8232ea076ad1 100644 (file)
@@ -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