X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=562192ca6150690e1216257cb668ab1d634939da;hb=a69f1d7c2060dc7b320a7b4801105df00b22a96a;hp=c206c5c2a07ef081326c46110f59bef40c0e23f7;hpb=f4dcec0b942703cf0e9bad1da7e64dfa252e915d;p=stockfish diff --git a/src/Makefile b/src/Makefile index c206c5c2..562192ca 100644 --- a/src/Makefile +++ b/src/Makefile @@ -30,7 +30,7 @@ EXE = stockfish PREFIX = /usr/local # Haiku has a non-standard filesystem layout ifeq ($(UNAME),Haiku) - PREFIX=/boot/common + PREFIX=/boot/system/non-packaged endif BINDIR = $(PREFIX)/bin @@ -175,7 +175,7 @@ endif ifeq ($(COMP),clang) comp=clang CXX=clang++ - CXXFLAGS += -ansi -pedantic -Wno-long-long -Wextra -Wshadow + CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow endif ifeq ($(comp),icc) @@ -285,7 +285,7 @@ endif ### 3.9 popcnt ifeq ($(popcnt),yes) - CXXFLAGS += -msse3 -DUSE_POPCNT + CXXFLAGS += -msse4.2 -DUSE_POPCNT endif ### 3.10 pext