summaryrefslogtreecommitdiffstats
path: root/build/moz.configure/init.configure
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /build/moz.configure/init.configure
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/moz.configure/init.configure')
-rw-r--r--build/moz.configure/init.configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
index bfb878aebb..5ff6851e86 100644
--- a/build/moz.configure/init.configure
+++ b/build/moz.configure/init.configure
@@ -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(