Skip to content

Commit 1819090

Browse files
committed
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: openwrt/openwrt#18575 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 2f0f25f commit 1819090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/Config-build.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ menu "Global build settings"
174174
Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-lto
175175

176176
config MOLD
177-
depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || sh4 || x86_64)
177+
depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || riscv64 || sh4 || x86_64)
178178
depends on !GCC_USE_VERSION_11
179179
def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
180180

0 commit comments

Comments
 (0)