cross-arm-linux-musleabi: update to musl-1.1.2; correct symlink.

This commit is contained in:
Juan RP 2014-06-07 05:42:37 +02:00
parent 9ed34f4d49
commit 82993ca36b

View file

@ -2,7 +2,7 @@
#
_binutils_version=2.24
_gcc_version=4.7.3
_musl_version=1.0.0
_musl_version=1.1.2
_linux_version=3.10.6
_triplet=arm-linux-musleabi
@ -11,7 +11,7 @@ _archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
_sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.15
version=0.16
revision=1
short_desc="Cross toolchain for the ${_triplet} LE Hard Float target"
maintainer="Juan RP <xtraeme@gmail.org>"
@ -26,7 +26,7 @@ checksum="
e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3
ed4dfd9f56b7c82e9c71331bbf8d2ea01ddfddc1b6209bd3f3c8640aa24065cf
1ad7f45d2972daff19c9e6a92714e6d70f4aad003cd8c3d1e6113432114c1a32"
dac94112b9a22d2657cd3f36ca0d62ee1eb10707a22bfc97d5746147ef92852b"
lib32disabled=yes
create_wrksrc=yes
@ -199,9 +199,8 @@ do_install() {
rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed/ \
${DESTDIR}/usr/lib/gcc/${_triplet}/*/include/stddef.h
# Make ld-musl-arm.so.1 symlink relative to cwd.
cd ${DESTDIR}/${_sysroot}/usr/lib
ln -sf libc.so ld-musl-arm.so.1
# Make ld-musl-armhf.so.1 symlink relative.
ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-armhf.so.1
# Remove unnecessary stuff
rm -f ${DESTDIR}/usr/lib*/libiberty.a