]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
config: allow using mold on loongarch64
authorRobert Marko <robimarko@gmail.com>
Wed, 23 Apr 2025 10:46:30 +0000 (12:46 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 23 Apr 2025 20:01:06 +0000 (22:01 +0200)
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@gmail.com>
config/Config-build.in

index 9b6b5f306692f8299ffcfb6da9131af2b70c2f46..7f23bad90c4fd9194636b3db64b400b77d641933 100644 (file)
@@ -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)