X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=92072cc1b07eb4b93ebec9bd1734043b8de72488;hb=4f6b1bf3bee68f138d1b5fc234fd25901cffa42c;hp=562192ca6150690e1216257cb668ab1d634939da;hpb=a69f1d7c2060dc7b320a7b4801105df00b22a96a;p=stockfish diff --git a/src/Makefile b/src/Makefile index 562192ca..92072cc1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -285,7 +285,11 @@ endif ### 3.9 popcnt ifeq ($(popcnt),yes) - CXXFLAGS += -msse4.2 -DUSE_POPCNT + ifeq ($(comp),icc) + CXXFLAGS += -msse3 -DUSE_POPCNT + else + CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT + endif endif ### 3.10 pext