瀏覽代碼

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 年之前
父節點
當前提交
dd3d9e85e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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