cross-i686-linux-musl: update binutils-2.29

This commit is contained in:
Jürgen Buchmüller 2017-08-07 20:35:37 +02:00
parent 91521841bf
commit 5898136d87
1 changed files with 7 additions and 3 deletions

View File

@ -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 <xtraeme@voidlinux.eu>"
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