cross-powerpc64-linux-musl: add libgnarl-musl.patch

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-01-22 14:40:49 +01:00
parent 0a607d5039
commit 6f37b33313
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
../../gcc/files/libgnarl-musl.patch

View File

@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.29 version=0.29
revision=1 revision=2
short_desc="Cross toolchain for powerpc64 with musl" short_desc="Cross toolchain for powerpc64 with musl"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -85,6 +85,7 @@ _gcc_bootstrap() {
_apply_patch -p0 ${FILESDIR}/musl-ada.patch _apply_patch -p0 ${FILESDIR}/musl-ada.patch
_apply_patch -p0 ${FILESDIR}/fix-ppc64-float128-libstdc++.patch _apply_patch -p0 ${FILESDIR}/fix-ppc64-float128-libstdc++.patch
_apply_patch -p0 ${FILESDIR}/0010-ldbl128-config.patch _apply_patch -p0 ${FILESDIR}/0010-ldbl128-config.patch
_apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch
sed -i '/OSDIRNAMES/s/lib64/lib/' gcc/config/rs6000/t-linux sed -i '/OSDIRNAMES/s/lib64/lib/' gcc/config/rs6000/t-linux
sed -i '/m64=/s/lib64/lib/' gcc/config/rs6000/t-linux64 sed -i '/m64=/s/lib64/lib/' gcc/config/rs6000/t-linux64