summaryrefslogtreecommitdiffstats
path: root/build/autoconf
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-05-27 08:56:34 -0500
committertrav90 <travawine@palemoon.org>2018-05-27 08:56:34 -0500
commit03d5c405659d02a2b7bd913ed2692a25f5879c58 (patch)
treed736ca6b26647ad1ff30fe9828a5f888afdc6d17 /build/autoconf
parentb9fc7c5eae61d168e677d96c1f1ad8a14cd1c3bd (diff)
downloadUXP-03d5c405659d02a2b7bd913ed2692a25f5879c58.tar
UXP-03d5c405659d02a2b7bd913ed2692a25f5879c58.tar.gz
UXP-03d5c405659d02a2b7bd913ed2692a25f5879c58.tar.lz
UXP-03d5c405659d02a2b7bd913ed2692a25f5879c58.tar.xz
UXP-03d5c405659d02a2b7bd913ed2692a25f5879c58.zip
Always build with SSE2 support when using GCC
Diffstat (limited to 'build/autoconf')
-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..dcbd40371 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 -msse -msse2 -mfpmath=sse"
+ CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -msse -msse2 -mfpmath=sse"
if test -z "$CLANG_CC"; then
case "$CC_VERSION" in