| Index: build/config/sysroot.gni
|
| diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
|
| index dcd215a345c7267ac9f0172fefe2a698c3380ea6..44ded33e42cf4e4b9eb2fedb920c1eeaa7af72b7 100644
|
| --- a/build/config/sysroot.gni
|
| +++ b/build/config/sysroot.gni
|
| @@ -14,7 +14,8 @@ declare_args() {
|
| use_sysroot = true
|
| }
|
|
|
| -if (current_toolchain == default_toolchain && target_sysroot != "") {
|
| +if (current_os == target_os && current_cpu == target_cpu &&
|
| + target_sysroot != "") {
|
| sysroot = target_sysroot
|
| } else if (is_android) {
|
| import("//build/config/android/config.gni")
|
|
|