mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
cross-powerpc64le-linux-musl: apply musl patches
[ci skip]
This commit is contained in:
parent
ceb7047998
commit
62f43c8edf
3 changed files with 7 additions and 6 deletions
|
@ -1 +0,0 @@
|
||||||
../../musl/patches/ppc-pt_regs.patch
|
|
|
@ -1 +0,0 @@
|
||||||
../../musl/patches/ppc64-fpregset_t.patch
|
|
|
@ -159,12 +159,15 @@ _musl_build() {
|
||||||
[ -f ${wrksrc}/.musl_build_done ] && return 0
|
[ -f ${wrksrc}/.musl_build_done ] && return 0
|
||||||
|
|
||||||
cd ${wrksrc}/musl-${_musl_version}
|
cd ${wrksrc}/musl-${_musl_version}
|
||||||
|
|
||||||
_apply_patch -p0 ${FILESDIR}/ppc64-fpregset_t.patch
|
|
||||||
_apply_patch -p0 ${FILESDIR}/ppc-pt_regs.patch
|
|
||||||
|
|
||||||
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" LD="${_triplet}-ld" AR="${_triplet}-ar" \
|
CC="${_triplet}-gcc" LD="${_triplet}-ld" AR="${_triplet}-ar" \
|
||||||
AS="${_triplet}-as" RANLIB="${_triplet}-ranlib" \
|
AS="${_triplet}-as" RANLIB="${_triplet}-ranlib" \
|
||||||
CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue