X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=92072cc1b07eb4b93ebec9bd1734043b8de72488;hp=c70bd782ba04dc4d3eebd7f94911984319afdf92;hb=89d9db2979b823449f8f0574617becc33de88607;hpb=73ca93f3c07867d16318d469b1054c45ddca79bf diff --git a/src/Makefile b/src/Makefile index c70bd782..92072cc1 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 @@ -285,7 +285,11 @@ endif ### 3.9 popcnt ifeq ($(popcnt),yes) - CXXFLAGS += -msse3 -DUSE_POPCNT + ifeq ($(comp),icc) + CXXFLAGS += -msse3 -DUSE_POPCNT + else + CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT + endif endif ### 3.10 pext