[openwrt/openwrt] config: allow using mold on loongarch64

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 23 13:01:11 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2f0f25fccfed5b469f1c411fc55ba7a1ceb63964

commit 2f0f25fccfed5b469f1c411fc55ba7a1ceb63964
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Wed Apr 23 12:46:30 2025 +0200

    config: allow using mold on loongarch64
    
    Mold supports 32 and 64 bit LoongArch, 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 at gmail.com>
---
 config/Config-build.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/Config-build.in b/config/Config-build.in
index 9b6b5f3066..7f23bad90c 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 || m68k || powerpc || powerpc64 || sh4 || x86_64)
+		depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || sh4 || x86_64)
 		depends on !GCC_USE_VERSION_11
 		def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
 




More information about the lede-commits mailing list