From e1b121e849d9b1aa011cbcdf4b30d36edf25115b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 23 Jun 2026 01:49:13 -0500 Subject: [PATCH] musl-cross-make merged this in commit 038afb6dbda5 --- scripts/mcm-buildall.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/mcm-buildall.sh b/scripts/mcm-buildall.sh index 117c0ed1..b302cadd 100755 --- a/scripts/mcm-buildall.sh +++ b/scripts/mcm-buildall.sh @@ -178,10 +178,8 @@ patch_mcm() sed -i 's/mirror//;s/\(LINUX_VER =\).*/\1 6.15.7/;s/\(GCC_VER =\).*/\1 15.1.0/' \ Makefile && - # nommu toolchains need to vfork()+pipe, and or1k has different kernel arch - sed -i -e 's/--enable-fdpic$/& --enable-twoprocess/' \ - -e '/or1k/!s/^\(TARGET_ARCH_MANGLED = \)\(.*\)/\1$(patsubst or1k,openrisc,\2)/' \ - litecross/Makefile && + # nommu toolchains need to vfork()+pipe + sed -i -e 's/--enable-fdpic$/& --enable-twoprocess/' litecross/Makefile && # Packages detect nommu via the absence of fork(). Musl provides a broken # fork() on nommu builds that always returns -ENOSYS at runtime. Rip it out. -- 2.39.5