| Index: build/config/sysroot.gni
|
| diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
|
| index aa43c2cd0bd3d14ba8b2a3ed6403c2b9a0f9e9fc..3210ae48a17a49273b9b67bcccc289a9123dc77b 100644
|
| --- a/build/config/sysroot.gni
|
| +++ b/build/config/sysroot.gni
|
| @@ -15,11 +15,11 @@ declare_args() {
|
| # The absolute path to directory containing linux sysroot images
|
| target_sysroot_dir = "//build/linux"
|
|
|
| - use_sysroot = true
|
| + use_sysroot = !is_power_or_z
|
| }
|
|
|
| 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")
|
|
|