From 5898136d87306d004c4bf072ef63674050d05e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 7 Aug 2017 20:35:37 +0200 Subject: [PATCH] cross-i686-linux-musl: update binutils-2.29 --- srcpkgs/cross-i686-linux-musl/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/cross-i686-linux-musl/template b/srcpkgs/cross-i686-linux-musl/template index ec12d2c071f..23a36262b42 100644 --- a/srcpkgs/cross-i686-linux-musl/template +++ b/srcpkgs/cross-i686-linux-musl/template @@ -1,6 +1,6 @@ # Template build file for 'cross-i686-linux-musl' # -_binutils_version=2.28 +_binutils_version=2.29 _gcc_version=6.3.0 _musl_version=1.1.16 _linux_version=4.9.8 @@ -11,7 +11,7 @@ _archflags="-march=i686" pkgname=cross-${_triplet} version=0.23 -revision=2 +revision=3 short_desc="Cross toolchain for i686 target (musl)" maintainer="Juan RP " homepage="http://www.voidlinux.eu" @@ -22,7 +22,7 @@ distfiles=" ${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz" checksum=" - 6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72 + 29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f 150bb7f2dd4849b5d21b8ccd8d05294a48229e1fcb93a22e7b806a79ec0b0e45 937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011" @@ -64,6 +64,7 @@ _binutils_build() { _args+=" --disable-multilib" _args+=" --disable-werror" _args+=" --disable-shared" + _args+=" --with-system-zlib" _args+=" ${_fpuflags}" ../binutils-${_binutils_version}/configure ${_args} @@ -229,6 +230,9 @@ do_install() { cd ${wrksrc}/gcc-build make DESTDIR=${DESTDIR} install + # move libcc1.so* to the sysroot + mv ${DESTDIR}/usr/lib/libcc1.so* ${DESTDIR}/${_sysroot}/usr/lib + # install musl libc for target cd ${wrksrc}/musl-${_musl_version} make DESTDIR=${DESTDIR}/${_sysroot} install