From c2e84d150173f1d6564ad8c83f686d7d74dd91ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 22 Jan 2019 16:29:55 +0100 Subject: [PATCH] cross-x86_64-linux-musl: add libgnarl-musl.patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/cross-x86_64-linux-musl/files/libgnarl-musl.patch | 1 + srcpkgs/cross-x86_64-linux-musl/template | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/cross-x86_64-linux-musl/files/libgnarl-musl.patch diff --git a/srcpkgs/cross-x86_64-linux-musl/files/libgnarl-musl.patch b/srcpkgs/cross-x86_64-linux-musl/files/libgnarl-musl.patch new file mode 120000 index 00000000000..33ccc9789f9 --- /dev/null +++ b/srcpkgs/cross-x86_64-linux-musl/files/libgnarl-musl.patch @@ -0,0 +1 @@ +../../gcc/files/libgnarl-musl.patch \ No newline at end of file diff --git a/srcpkgs/cross-x86_64-linux-musl/template b/srcpkgs/cross-x86_64-linux-musl/template index 30cdec505ed..f23cfca60ca 100644 --- a/srcpkgs/cross-x86_64-linux-musl/template +++ b/srcpkgs/cross-x86_64-linux-musl/template @@ -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 " 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