diff --git a/config/posix/BUILD.gn b/config/posix/BUILD.gn
index 9638527df..330e16690 100644
--- a/config/posix/BUILD.gn
+++ b/config/posix/BUILD.gn
@@ -27,7 +27,7 @@ config("runtime_library") {
 
   if (!is_apple && sysroot != "" && current_os != "zos") {
     # Pass the sysroot to all C compiler variants, the assembler, and linker.
-    sysroot_flags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ]
+    sysroot_flags = []
     if (is_linux || is_chromeos) {
       # This is here so that all files get recompiled after a sysroot roll and
       # when turning the sysroot on or off. (defines are passed via the command
