cross-aarch64-linux-musl: apply musl patches
[ci skip]
This commit is contained in:
parent
c38a7133df
commit
791433b05e
1 changed files with 7 additions and 0 deletions
|
@ -153,6 +153,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" LD="${_triplet}-ld" AR="${_triplet}-ar" \
|
||||
AS="${_triplet}-as" RANLIB="${_triplet}-ranlib" \
|
||||
CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
||||
|
|
Loading…
Reference in a new issue