summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko2025-04-23 11:07:13 +0000
committerRobert Marko2025-04-23 20:01:06 +0000
commit181909078ff14904c04f509e334afff16279293f (patch)
treee22f5f5ea50297aa2ba631cd8cf00ad998125a54
parent2f0f25fccfed5b469f1c411fc55ba7a1ceb63964 (diff)
downloadopenwrt-181909078ff14904c04f509e334afff16279293f.tar.gz
config: allow using mold on riscv64
Mold supports 32 and 64 bit RISC-V, but since we only support the 64 bit version allow using mold on it. Link: https://github.com/openwrt/openwrt/pull/18575 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--config/Config-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index 7f23bad90c..710a6489fb 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -174,7 +174,7 @@ menu "Global build settings"
Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-lto
config MOLD
- depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || sh4 || x86_64)
+ depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || riscv64 || sh4 || x86_64)
depends on !GCC_USE_VERSION_11
def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)