mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-06 04:34:00 -05:00
mold: dont allow on MacOS
Mold does not really work on MacOS, when attempting to use it for example for ubus: mold: get_self_path is not supportedcollect2: error: ld returned 1 exit status Which was introduced by [1] so it seems that MacOS is not supported, so lets make it non selectable when MacOS is the host. [1]f9a37e9dd4Link: https://github.com/openwrt/openwrt/pull/18575 (cherry picked from commit3c65dc3678) Link: https://github.com/openwrt/openwrt/pull/20621 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
984a219781
commit
99e62c21c6
@ -176,6 +176,7 @@ menu "Global build settings"
|
||||
config MOLD
|
||||
depends on (aarch64 || arm || i386 || i686 || m68k || powerpc || powerpc64 || sh4 || x86_64)
|
||||
depends on !GCC_USE_VERSION_11
|
||||
depends on !HOST_OS_MACOS
|
||||
def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
|
||||
|
||||
config USE_MOLD
|
||||
|
||||
Loading…
Reference in New Issue
Block a user