Index: build/config/posix/BUILD.gn |
diff --git a/build/config/posix/BUILD.gn b/build/config/posix/BUILD.gn |
index 1abbcebba4aefb62cd6e06644354821551621666..6f65443d7279bbd6603824aba8b9b345bcb4c73d 100644 |
--- a/build/config/posix/BUILD.gn |
+++ b/build/config/posix/BUILD.gn |
@@ -13,7 +13,7 @@ assert(is_posix) |
config("runtime_library") { |
if (!is_mac && sysroot != "") { |
# Pass the sysroot to all C compiler variants, the assembler, and linker. |
- cflags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ] |
+ cflags = [ "--sysroot=" + sysroot ] |
asmflags = cflags |
ldflags = cflags |