From b24289340e9cfbec04c63734e02abd07fe307451 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 May 2022 03:39:03 -0500 Subject: [PATCH] Only at one #define __MUSL__ to features.h. --- scripts/mcm-buildall.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/mcm-buildall.sh b/scripts/mcm-buildall.sh index 7218036b..11a10136 100755 --- a/scripts/mcm-buildall.sh +++ b/scripts/mcm-buildall.sh @@ -142,13 +142,6 @@ fix_nommu() PP=patches/musl-"$(sed -n 's/MUSL_VER[ \t]*=[ \t]*//p' Makefile)" mkdir -p "$PP" && cat > "$PP"/0001-nommu.patch << 'EOF' ---- a/include/features.h -+++ b/include/features.h -@@ -3,2 +3,4 @@ - -+#define __MUSL__ 1 -+ - #if defined(_ALL_SOURCE) && !defined(_GNU_SOURCE) --- a/src/legacy/daemon.c +++ b/src/legacy/daemon.c @@ -17,3 +17,3 @@ -- 2.39.2