Bug 1294331 - Don't enable sandboxing outside of x86/x86_64. r=glandium
authorGian-Carlo Pascutto <gcp@mozilla.com>
Fri, 12 Aug 2016 15:24:35 +0200
changeset 310092 4cfaf97a020062fc79227b0c10464f49f98d2166
parent 310091 366b3ac46777b399563ee3ecfdd9a7b7b467f9c9
child 310093 6d227c4f173d3cf8365e1563a1ad7c3c64e93379
push id80771
push userkwierso@gmail.com
push dateThu, 18 Aug 2016 23:33:08 +0000
treeherdermozilla-inbound@cb1295738c37 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1294331
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1294331 - Don't enable sandboxing outside of x86/x86_64. r=glandium MozReview-Commit-ID: Jc0OpFwznVY
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -4239,17 +4239,21 @@ fi
 case "$OS_TARGET:$NIGHTLY_BUILD" in
 WINNT:*)
     MOZ_CONTENT_SANDBOX=$MOZ_SANDBOX
     ;;
 Darwin:1)
     MOZ_CONTENT_SANDBOX=$MOZ_SANDBOX
     ;;
 Linux:1)
-    MOZ_CONTENT_SANDBOX=$MOZ_SANDBOX
+    case $CPU_ARCH in
+        x86_64|x86)
+            MOZ_CONTENT_SANDBOX=$MOZ_SANDBOX
+        ;;
+    esac
     ;;
 esac
 
 MOZ_ARG_ENABLE_BOOL(content-sandbox,
 [  --enable-content-sandbox Enable sandboxing support for content-processes
   --disable-content-sandbox Disable sandboxing support for content-processes],
     MOZ_CONTENT_SANDBOX=1,
     MOZ_CONTENT_SANDBOX=)