summaryrefslogtreecommitdiffstats
path: root/build/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'build/autoconf')
-rw-r--r--build/autoconf/compiler-opts.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4
index 0848d78d9..77c2e85b5 100644
--- a/build/autoconf/compiler-opts.m4
+++ b/build/autoconf/compiler-opts.m4
@@ -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