X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=dbf8143576fdb642c1346b4eab067b7113c8738b;hp=9b8e926a5c73df6d9f283d638eb43824bd7b19a4;hb=61e44433426296dc388e75c864522580ec4ba3a5;hpb=6571acffaa08755fe83292a84ba4c762632bed82 diff --git a/src/Makefile b/src/Makefile index 9b8e926a..dbf81435 100644 --- a/src/Makefile +++ b/src/Makefile @@ -271,14 +271,10 @@ ifeq ($(optimize),yes) endif ifeq ($(comp),clang) - ifeq ($(os),osx) - # Clang on OS X supports LTO - CXXFLAGS += -O4 - else - CXXFLAGS += -O3 - endif + CXXFLAGS += -O3 ifeq ($(os),osx) + CXXFLAGS += -flto ifeq ($(arch),i386) CXXFLAGS += -mdynamic-no-pic endif