X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=92072cc1b07eb4b93ebec9bd1734043b8de72488;hp=187e7b313404fb5df608a62eba6d38cd81b546fc;hb=c97b702f4d501a9b3f025cd7f02d84c4638b7c2a;hpb=b9a88da4abe9a673e8ad0d254d7196da9623e54a diff --git a/src/Makefile b/src/Makefile index 187e7b31..92072cc1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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