diffutils: fix musl bootstrap under some conditions
This commit is contained in:
parent
62b0730792
commit
c1ca4cb58c
@ -13,6 +13,11 @@ homepage="https://www.gnu.org/software/diffutils"
|
|||||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26
|
checksum=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
export ac_cv_lib_error_at_line=no
|
||||||
|
export ac_cv_header_sys_cdefs_h=no
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Tell configure we have GNU getopt
|
# Tell configure we have GNU getopt
|
||||||
configure_args+=" gl_cv_func_getopt_gnu=yes"
|
configure_args+=" gl_cv_func_getopt_gnu=yes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user