summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-05-27 09:36:16 -0500
committertrav90 <travawine@palemoon.org>2018-05-27 09:36:16 -0500
commitc3400bd8e65108058baf0e7213c3baeb45e79a01 (patch)
tree5e3f0597088549b84ca7a72f71d8356f22e6b060
parent03d5c405659d02a2b7bd913ed2692a25f5879c58 (diff)
downloadUXP-c3400bd8e65108058baf0e7213c3baeb45e79a01.tar
UXP-c3400bd8e65108058baf0e7213c3baeb45e79a01.tar.gz
UXP-c3400bd8e65108058baf0e7213c3baeb45e79a01.tar.lz
UXP-c3400bd8e65108058baf0e7213c3baeb45e79a01.tar.xz
UXP-c3400bd8e65108058baf0e7213c3baeb45e79a01.zip
Tweak SSE/SSE2 GCC flags
-rw-r--r--application/palemoon/app/Makefile.in2
-rw-r--r--browser/app/Makefile.in2
-rw-r--r--build/autoconf/compiler-opts.m42
3 files changed, 3 insertions, 3 deletions
diff --git a/application/palemoon/app/Makefile.in b/application/palemoon/app/Makefile.in
index 12f28768a..94f4dc1f3 100644
--- a/application/palemoon/app/Makefile.in
+++ b/application/palemoon/app/Makefile.in
@@ -38,7 +38,7 @@ include $(topsrcdir)/config/config.mk
ifdef MOZ_LINUX_SSE2_STARTUP_ERROR
CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS))
CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX))
-CXXFLAGS += -mno-sse2 -mfpmath=387
+CXXFLAGS += -msse -mno-sse2 -mfpmath=387
endif
ifeq ($(OS_ARCH),WINNT)
diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in
index cb35ed1fb..ca87f0995 100644
--- a/browser/app/Makefile.in
+++ b/browser/app/Makefile.in
@@ -28,7 +28,7 @@ include $(topsrcdir)/config/config.mk
ifdef MOZ_LINUX_SSE2_STARTUP_ERROR
CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS))
CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX))
-CXXFLAGS += -mno-sse2 -mfpmath=387
+CXXFLAGS += -msse -mno-sse2 -mfpmath=387
endif
ifeq ($(OS_ARCH),WINNT)
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4
index dcbd40371..8ceb2a4d6 100644
--- a/build/autoconf/compiler-opts.m4
+++ b/build/autoconf/compiler-opts.m4
@@ -176,7 +176,7 @@ if test "$GNU_CC"; then
CFLAGS="$CFLAGS -ffunction-sections -fdata-sections"
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections"
fi
- CFLAGS="$CFLAGS -fno-math-errno -msse -msse2 -mfpmath=sse"
+ CFLAGS="$CFLAGS -fno-math-errno -msse2 -mfpmath=sse"
CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -msse -msse2 -mfpmath=sse"
if test -z "$CLANG_CC"; then