0010-build-config-compiler-use_gold-linker-option.patch 1.2 KB

1234567891011121314151617181920212223242526
  1. From 75e05df5b897b869e57063d14d1035ad5b258f78 Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Mon, 17 Jan 2022 04:48:24 +0000
  4. Subject: [PATCH 10/22] build: config: compiler: use_gold linker option
  5. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  6. ---
  7. build/config/compiler/compiler.gni | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
  10. index 0567598343ea6..f5080708c9483 100644
  11. --- a/build/config/compiler/compiler.gni
  12. +++ b/build/config/compiler/compiler.gni
  13. @@ -223,7 +223,7 @@ declare_args() {
  14. (((is_linux || is_chromeos_lacros) &&
  15. (current_cpu == "x64" || current_cpu == "x86" ||
  16. current_cpu == "arm" || current_cpu == "arm64" ||
  17. - current_cpu == "mipsel" || current_cpu == "mips64el")) ||
  18. + current_cpu == "mipsel" || current_cpu == "mips64el" || current_cpu == "riscv64")) ||
  19. (is_android && (current_cpu == "x86" || current_cpu == "x64" ||
  20. current_cpu == "arm" || current_cpu == "arm64")))
  21. }
  22. --
  23. 2.25.1