forked from mirrors/gecko-dev
Bug 1892005 - Move MOZ_LINUX_32_SSE2_STARTUP_ERROR env check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207729
This commit is contained in:
parent
07708fd3ff
commit
8507c5b50c
3 changed files with 13 additions and 8 deletions
|
|
@ -1271,6 +1271,19 @@ def enabled_in_nightly(milestone):
|
|||
return milestone.is_nightly
|
||||
|
||||
|
||||
# Check if we need the 32-bit Linux SSE2 error dialog
|
||||
# ===================================================
|
||||
option(
|
||||
env="MOZ_LINUX_32_SSE2_STARTUP_ERROR",
|
||||
help="Add code to perform startup checks to warn if SSE2 is not available",
|
||||
default=depends("MOZ_AUTOMATION")(lambda x: bool(x)),
|
||||
when=target_is_unix & depends(target)(lambda target: target.cpu == "x86"),
|
||||
)
|
||||
set_config(
|
||||
"MOZ_LINUX_32_SSE2_STARTUP_ERROR", True, when="MOZ_LINUX_32_SSE2_STARTUP_ERROR"
|
||||
)
|
||||
|
||||
|
||||
# Branding
|
||||
# ==============================================================
|
||||
option(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
. "$topsrcdir/build/unix/mozconfig.linux"
|
||||
|
||||
export MOZ_LINUX_32_SSE2_STARTUP_ERROR=1
|
||||
|
||||
CFLAGS="$CFLAGS -march=pentium-m -msse -msse2 -mfpmath=sse"
|
||||
CXXFLAGS="$CXXFLAGS -march=pentium-m -msse -msse2 -mfpmath=sse"
|
||||
|
||||
|
|
|
|||
|
|
@ -831,12 +831,6 @@ if test "$COMPILE_ENVIRONMENT"; then
|
|||
MOZ_EXPAND_LIBS
|
||||
fi # COMPILE_ENVIRONMENT
|
||||
|
||||
dnl ========================================================
|
||||
dnl Check if we need the 32-bit Linux SSE2 error dialog
|
||||
dnl ========================================================
|
||||
|
||||
AC_SUBST(MOZ_LINUX_32_SSE2_STARTUP_ERROR)
|
||||
|
||||
dnl ========================================================
|
||||
dnl Check for cairo
|
||||
dnl ========================================================
|
||||
|
|
|
|||
Loading…
Reference in a new issue