| Index: build/config/sysroot.gni
|
| diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
|
| index debf77129b4b96688a04f1a42e19910124f442f0..98fa0937f17e72fb92451f23779775c00f0f812a 100644
|
| --- a/build/config/sysroot.gni
|
| +++ b/build/config/sysroot.gni
|
| @@ -33,7 +33,7 @@ if (current_toolchain == default_toolchain && target_sysroot != "") {
|
| } else {
|
| sysroot = ""
|
| }
|
| -} else if (is_linux && !is_chromeos && use_sysroot) {
|
| +} else if (is_linux && !is_chromeos && is_clang && use_sysroot) {
|
| # By default build against a sysroot image downloaded from Cloud Storage
|
| # during gclient runhooks.
|
| if (current_cpu == "x64") {
|
|
|