summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-05-27 08:56:34 -0500
committerwolfbeast <mcwerewolf@gmail.com>2018-06-03 12:17:30 +0200
commit2eeab8f39c865c73eb3af26fb996f246313a109e (patch)
tree72f795f521b8280063c9985a23e82e4cc0bb8113
parent7d9e2a108478d1fc79aa25b2ac56b62249e31dc5 (diff)
downloadUXP-2eeab8f39c865c73eb3af26fb996f246313a109e.tar
UXP-2eeab8f39c865c73eb3af26fb996f246313a109e.tar.gz
UXP-2eeab8f39c865c73eb3af26fb996f246313a109e.tar.lz
UXP-2eeab8f39c865c73eb3af26fb996f246313a109e.tar.xz
UXP-2eeab8f39c865c73eb3af26fb996f246313a109e.zip
Always build with SSE2 support when using GCC
-rw-r--r--build/autoconf/compiler-opts.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4
index c47d792f4..82d0b43fc 100644
--- a/build/autoconf/compiler-opts.m4
+++ b/build/autoconf/compiler-opts.m4
@@ -176,8 +176,8 @@ if test "$GNU_CC"; then
CFLAGS="$CFLAGS -ffunction-sections -fdata-sections"
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections"
fi
- CFLAGS="$CFLAGS -fno-math-errno"
- CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno"
+ CFLAGS="$CFLAGS -fno-math-errno -msse2 -mfpmath=sse"
+ CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse"
if test -z "$CLANG_CC"; then
case "$CC_VERSION" in