]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Revert to -O3 with Clang
[stockfish] / src / Makefile
index 2a03492fa863b6e2fdd5984026a873c8cd24c86e..dea8db04675e66d26b21e4c755f91df217ae85e3 100644 (file)
@@ -270,7 +270,8 @@ ifeq ($(optimize),yes)
        endif
 
        ifeq ($(comp),clang)
-               CXXFLAGS += -O4
+               ### -O4 requires a linker that supports LLVM's LTO
+               CXXFLAGS += -O3
 
                ifeq ($(os),osx)
                        ifeq ($(arch),i386)