Index: build/config/posix/BUILD.gn |
diff --git a/build/config/posix/BUILD.gn b/build/config/posix/BUILD.gn |
index 11cad83d0755bdf1bd448c63355f422942fef144..d80e047c3839702c5f2c5da199ffbf14ab584938 100644 |
--- a/build/config/posix/BUILD.gn |
+++ b/build/config/posix/BUILD.gn |
@@ -18,7 +18,7 @@ group("posix") { |
# that is Posix-only. Please see that target for advice on what should go in |
# :runtime_library vs. :compiler. |
config("runtime_library") { |
- if (!is_mac && !is_ios && sysroot != "") { |
+ if (!is_mac && !is_ios && !is_fuchsia && sysroot != "") { |
# Pass the sysroot to all C compiler variants, the assembler, and linker. |
cflags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ] |
asmflags = cflags |