diff --git a/src/Makefile b/src/Makefile index 1de2d243..eaa4c867 100644 --- a/src/Makefile +++ b/src/Makefile @@ -373,9 +373,9 @@ ifeq ($(popcnt),yes) ifeq ($(arch),$(filter $(arch),ppc64 armv8-a)) CXXFLAGS += -DUSE_POPCNT else ifeq ($(comp),icc) - CXXFLAGS += -msse3 -DUSE_POPCNT -DUSE_SSE2 + CXXFLAGS += -msse3 -DUSE_POPCNT else - CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT -DUSE_SSE2 + CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT endif endif @@ -393,6 +393,10 @@ ifeq ($(sse41),yes) endif endif +ifeq ($(arch),x86_64) + CXXFLAGS += -DUSE_SSE2 +endif + ### 3.7 pext ifeq ($(pext),yes) CXXFLAGS += -DUSE_PEXT