Explicitly enable sse2 on x86_64 also.

This commit is contained in:
Fedor 2019-11-12 08:37:44 +03:00
parent 5adf5fde27
commit 9ebbdfb7c3
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ if test "$GNU_CC"; then
CFLAGS="$CFLAGS -fno-math-errno"
CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno"
if test "$CPU_ARCH" = x86; then
if test "$CPU_ARCH" = "x86" -o "$CPU_ARCH" = "x86_64"; then
CFLAGS="$CFLAGS -msse2 -mfpmath=sse"
CXXFLAGS="$CXXFLAGS -msse2 -mfpmath=sse"
fi