From c3400bd8e65108058baf0e7213c3baeb45e79a01 Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 27 May 2018 09:36:16 -0500 Subject: Tweak SSE/SSE2 GCC flags --- application/palemoon/app/Makefile.in | 2 +- browser/app/Makefile.in | 2 +- build/autoconf/compiler-opts.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/palemoon/app/Makefile.in b/application/palemoon/app/Makefile.in index 12f28768aa..94f4dc1f35 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 cb35ed1fb8..ca87f09953 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 dcbd40371a..8ceb2a4d66 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 -- cgit v1.2.3