diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 22:44:07 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 22:44:07 +0200 |
commit | 07d8c66ed481cfe9e008f4855dabaa361fb50f97 (patch) | |
tree | 2d56c8739d4d0b389b1f86de1f30e712929fe277 /build/autoconf | |
parent | 1eb8b9ced970921e0478b974292ac9e986133c83 (diff) | |
parent | 50ef259a2df60d020ccb02d76dc5aa4835ee319e (diff) | |
download | UXP-07d8c66ed481cfe9e008f4855dabaa361fb50f97.tar UXP-07d8c66ed481cfe9e008f4855dabaa361fb50f97.tar.gz UXP-07d8c66ed481cfe9e008f4855dabaa361fb50f97.tar.lz UXP-07d8c66ed481cfe9e008f4855dabaa361fb50f97.tar.xz UXP-07d8c66ed481cfe9e008f4855dabaa361fb50f97.zip |
Merge branch 'release' into Pale_Moon-release
Diffstat (limited to 'build/autoconf')
-rw-r--r-- | build/autoconf/compiler-opts.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 index 82d0b43fc..77c2e85b5 100644 --- a/build/autoconf/compiler-opts.m4 +++ b/build/autoconf/compiler-opts.m4 @@ -176,8 +176,13 @@ if test "$GNU_CC"; then CFLAGS="$CFLAGS -ffunction-sections -fdata-sections" CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections" fi - CFLAGS="$CFLAGS -fno-math-errno -msse2 -mfpmath=sse" - CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse" + CFLAGS="$CFLAGS -fno-math-errno" + CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno" + + if test "$CPU_ARCH" = "x86" -o "$CPU_ARCH" = "x86_64"; then + CFLAGS="$CFLAGS -msse2 -mfpmath=sse" + CXXFLAGS="$CXXFLAGS -msse2 -mfpmath=sse" + fi if test -z "$CLANG_CC"; then case "$CC_VERSION" in |