Index: build/config/sysroot.gni |
diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni |
index aa43c2cd0bd3d14ba8b2a3ed6403c2b9a0f9e9fc..2c26c34f24181c33d8a521f14e57053323026031 100644 |
--- a/build/config/sysroot.gni |
+++ b/build/config/sysroot.gni |
@@ -15,11 +15,12 @@ declare_args() { |
# The absolute path to directory containing linux sysroot images |
target_sysroot_dir = "//build/linux" |
- use_sysroot = true |
+ use_sysroot = current_cpu != "s390x" && current_cpu != "s390" && |
+ current_cpu != "ppc64" && current_cpu != "ppc" |
} |
if (current_os == target_os && current_cpu == target_cpu && |
- target_sysroot != "") { |
+ target_sysroot != "") { |
sysroot = target_sysroot |
} else if (is_android) { |
import("//build/config/android/config.gni") |