cross-x86_64-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 16:29:55 +01:00
parent 9aba8e97f8
commit c2e84d1501
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}
version=0.29
revision=1
revision=2
short_desc="Cross toolchain for x86_64 with musl"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="https://www.voidlinux.org/"
@ -84,6 +84,7 @@ _gcc_bootstrap() {
cd ${wrksrc}/gcc-${_gcc_version}
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
_apply_patch -p0 ${FILESDIR}/musl-ada.patch
_apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/config/i386/linux64.h