Revert "Always build with SSE2 support & display an error if not available"

This commit is contained in:
Moonchild 2018-05-28 05:42:07 +00:00 committed by Roy Tam
commit 170f2ade41
10 changed files with 2 additions and 131 deletions

View file

@ -23,14 +23,6 @@ NSDISTMODE = copy
include $(topsrcdir)/config/config.mk
# If we are trying to show an error dialog about the lack of SSE2 support,
# make sure that code itself doesn't use SSE2.
ifdef MOZ_LINUX_SSE2_STARTUP_ERROR
CXXFLAGS := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXXFLAGS))
CXX := $(filter-out -march=% -msse2 -mfpmath=sse,$(CXX))
CXXFLAGS += -msse -mno-sse2 -mfpmath=387
endif
ifeq ($(OS_ARCH),WINNT)
# Rebuild firefox.exe if the manifest changes - it's included by splash.rc.
# (this dependency should really be just for firefox.exe, not other targets)