]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Use compiler intrinsic instead of assembly for popcnt
[stockfish] / src / Makefile
index 187e7b313404fb5df608a62eba6d38cd81b546fc..1e5a16580b188df89614665027b8681453082d51 100644 (file)
@@ -285,7 +285,7 @@ endif
 
 ### 3.9 popcnt
 ifeq ($(popcnt),yes)
-       CXXFLAGS += -msse3 -DUSE_POPCNT
+       CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
 endif
 
 ### 3.10 pext