X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile;h=000750f9899786fab327d511b55c6fd86a5f7725;hb=c556fe1d716fcef3215c239f02b314ec7b42f0d1;hp=9b8e926a5c73df6d9f283d638eb43824bd7b19a4;hpb=cf95a55d763b0746b455b6ba659720aa1dd64028;p=stockfish diff --git a/src/Makefile b/src/Makefile index 9b8e926a..000750f9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -35,7 +35,7 @@ endif BINDIR = $(PREFIX)/bin ### Built-in benchmark for pgo-builds and signature -PGOBENCH = ./$(EXE) bench 32 1 10 default depth +PGOBENCH = ./$(EXE) bench 32 1 1 default time SIGNBENCH = ./$(EXE) bench ### Object files @@ -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