summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-05-27 17:23:09 -0500
committertrav90 <travawine@palemoon.org>2018-05-27 17:23:09 -0500
commit7a26ade0a65a3aebb184d9b6a22a2b16823da130 (patch)
treeeda326749d3c917892abdd9d1c2719937f3faf73 /application
parentc3fc250b0ccc71542d7838ff7395350992b65afa (diff)
downloadUXP-7a26ade0a65a3aebb184d9b6a22a2b16823da130.tar
UXP-7a26ade0a65a3aebb184d9b6a22a2b16823da130.tar.gz
UXP-7a26ade0a65a3aebb184d9b6a22a2b16823da130.tar.lz
UXP-7a26ade0a65a3aebb184d9b6a22a2b16823da130.tar.xz
UXP-7a26ade0a65a3aebb184d9b6a22a2b16823da130.zip
Only display SSE2 error dialog on 32-bit Linux
All 64bit CPU's support SSE2 so there's no reason to have this code on 64-bit builds.
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/confvars.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh
index d1d2ce065..fbd412eb5 100644
--- a/application/palemoon/confvars.sh
+++ b/application/palemoon/confvars.sh
@@ -98,9 +98,11 @@ if test "$OS_ARCH" = "WINNT" -o \
MOZ_BUNDLED_FONTS=1
fi
-# Display an error on non-SSE2 Linux systems
-if test "$OS_ARCH" = "Linux"; then
- MOZ_LINUX_SSE2_STARTUP_ERROR=1
+# Display an error on non-SSE2 32-bit Linux systems
+if ! test "$HAVE_64BIT_BUILD"; then
+ if test "$OS_ARCH" = "Linux"; then
+ MOZ_LINUX_SSE2_STARTUP_ERROR=1
+ fi
fi
# Short-circuit a few services to be removed