cross-armv7l-linux-musleabihf: apply musl patches

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-06-10 16:44:16 +02:00
parent db386cd08e
commit 799383b4d3

View file

@ -155,6 +155,13 @@ _musl_build() {
cd ${wrksrc}/musl-${_musl_version} cd ${wrksrc}/musl-${_musl_version}
msg_normal "Building cross musl libc\n" 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}" \ CC="${_triplet}-gcc" CFLAGS="-Os -pipe -fPIC ${_archflags}" \
./configure --prefix=/usr ./configure --prefix=/usr