cross-powerpc64-linux-musl: add musl backport patches

[ci skip]
This commit is contained in:
q66 2019-06-09 20:54:42 +02:00 committed by Jürgen Buchmüller
parent 37a2e5f637
commit 8e1d1318bf
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1 @@
../../musl/patches/ppc64-vrregset-t-fix-layout.patch

View File

@ -0,0 +1 @@
../../musl/patches/ppc64-vrregset-t-vrregs-fix.patch

View File

@ -9,7 +9,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.30
revision=4
revision=5
short_desc="Cross toolchain for powerpc64 with musl"
maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/"
@ -149,6 +149,10 @@ _musl_build() {
[ -f ${wrksrc}/.musl_build_done ] && return 0
cd ${wrksrc}/musl-${_musl_version}
_apply_patch -p0 ${FILESDIR}/ppc64-vrregset-t-fix-layout.patch
_apply_patch -p0 ${FILESDIR}/ppc64-vrregset-t-vrregs-fix.patch
msg_normal "Building cross musl libc\n"
CC="${_triplet}-gcc" LD="${_triplet}-ld" AR="${_triplet}-ar" \