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 309925 4cfaf97a020062fc79227b0c10464f49f98d2166
parent 309924 366b3ac46777b399563ee3ecfdd9a7b7b467f9c9
child 309926 6d227c4f173d3cf8365e1563a1ad7c3c64e93379
push id20342
push userkwierso@gmail.com
push dateThu, 18 Aug 2016 23:33:24 +0000
treeherderfx-team@abac53d4d247 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1294331
milestone51.0a1
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=)