From 0678ef84c4a2dbeb9f40b81c3e176a6d5368c469 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 9 Jun 2021 05:20:42 +0200 Subject: [PATCH] coreutils: fix musl source bootstrap under some conditions --- srcpkgs/coreutils/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index 334d1b0ea9..b9148c8549 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -22,6 +22,11 @@ if [ "$CHROOT_READY" ]; then fi fi +if [ "$XBPS_TARGET_LIBC" = musl ]; then + export ac_cv_lib_error_at_line=no + export ac_cv_header_sys_cdefs_h=no +fi + alternatives=" hostname:hostname:/usr/bin/hostname-coreutils hostname:hostname.1:/usr/share/man/man1/hostname-coreutils.1"