Browse Source

build/config/posix: add workaround to avoid rebuild sysroot

Upstream status: Inappropriate

This should be drop once we have a stable Debian build
for riscv64.

Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
Rebecca Chang Swee Fun 1 year ago
parent
commit
dd3d9e85e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/config/posix/BUILD.gn

+ 1 - 1
build/config/posix/BUILD.gn

@@ -28,7 +28,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) ]
-    if (is_linux || is_chromeos) {
+    if (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
       # line, and build system rebuilds things when their commandline