ifeq (${ARCH}, i686)
- EXT_OPTIONS=-msse2
+ EXT_OPTIONS=-msse2 -mssse3
+endif
+
+ifeq (${ARCH}, x86_64)
+ EXT_OPTIONS=-mssse3
endif
xOPT_LEVEL=-O2
xOPT_LEVEL=-O3
endif
-ifeq (${USE_SSSE3}, 1)
-# Intrinsic implementation of block copy
-DEFS += -DUSE_SSSE3
-xOPT_LEVEL += -mssse3
-endif
-
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
xCXXFLAGS=$(xOPT_LEVEL) $(EXT_OPTIONS) -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter \