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

[ci skip]
This commit is contained in:
q66 2019-06-09 20:54:27 +02:00 committed by Jürgen Buchmüller
parent 0271cc4f2b
commit 37a2e5f637
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 powerpc64le 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" \