cross-powerpc-linux-musl: apply musl patches
[ci skip]
This commit is contained in:
parent
96288e8786
commit
cd05ee7a92
@ -1 +0,0 @@
|
|||||||
../../musl/patches/ppc-pt_regs.patch
|
|
@ -156,11 +156,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}/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" CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
CC="${_triplet}-gcc" CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user