Skip to content

Commit 3c65dc3

Browse files
committed
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] rui314/mold@f9a37e9 Link: openwrt/openwrt#18575 Signed-off-by: Robert Marko <[email protected]>
1 parent 1819090 commit 3c65dc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/Config-build.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ menu "Global build settings"
176176
config MOLD
177177
depends on (aarch64 || arm || i386 || i686 || loongarch64 || m68k || powerpc || powerpc64 || riscv64 || sh4 || x86_64)
178178
depends on !GCC_USE_VERSION_11
179+
depends on !HOST_OS_MACOS
179180
def_bool $(shell, ./config/check-hostcxx.sh 10 2 12)
180181

181182
config USE_MOLD

0 commit comments

Comments
 (0)