diff --git a/src/build/config/sysroot.gni b/src/build/config/sysroot.gni index 18d2d57362..c1b2b8f6e8 100644 --- a/src/build/config/sysroot.gni +++ b/src/build/config/sysroot.gni @@ -26,6 +26,10 @@ declare_args() { current_cpu == "mipsel" || current_cpu == "mips64el" } +if (current_toolchain == host_toolchain && host_toolchain == "//build/toolchain/linux:clang_x64") { + sysroot = "" +} + if (sysroot == "") { if (current_os == target_os && current_cpu == target_cpu && target_sysroot != "") {