From 799383b4d3726f1830d5c6b31000bc58c0f63efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 10 Jun 2020 16:44:16 +0200 Subject: [PATCH] cross-armv7l-linux-musleabihf: apply musl patches [ci skip] --- srcpkgs/cross-armv7l-linux-musleabihf/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/cross-armv7l-linux-musleabihf/template b/srcpkgs/cross-armv7l-linux-musleabihf/template index 5540785ec2..b29d69de9b 100644 --- a/srcpkgs/cross-armv7l-linux-musleabihf/template +++ b/srcpkgs/cross-armv7l-linux-musleabihf/template @@ -155,6 +155,13 @@ _musl_build() { cd ${wrksrc}/musl-${_musl_version} msg_normal "Building cross musl libc\n" + # Apply musl patches if there are any + if [ -d "${XBPS_SRCPKGDIR}/musl/patches" ]; then + for f in ${XBPS_SRCPKGDIR}/musl/patches/*.patch; do + _apply_patch -p0 "$f" + done + fi + CC="${_triplet}-gcc" CFLAGS="-Os -pipe -fPIC ${_archflags}" \ ./configure --prefix=/usr