X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2FMakefile;h=dea8db04675e66d26b21e4c755f91df217ae85e3;hb=1f7b5d9a79e5977ec1be42d7b67444d3cb7e33da;hp=782971e938c1364494642aa17112f8c3fda1319c;hpb=96f4ab48d8b2e3129a2d028f7739f12db2200667;p=stockfish diff --git a/src/Makefile b/src/Makefile index 782971e9..dea8db04 100644 --- a/src/Makefile +++ b/src/Makefile @@ -32,7 +32,7 @@ PGOBENCH = ./$(EXE) bench 32 1 10 default depth ### Object files OBJS = benchmark.o bitbase.o bitboard.o book.o endgame.o evaluate.o main.o \ - material.o misc.o move.o movegen.o movepick.o pawns.o position.o \ + material.o misc.o movegen.o movepick.o notation.o pawns.o position.o \ search.o thread.o timeman.o tt.o uci.o ucioption.o ### ========================================================================== @@ -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)