cross-aarch64-linux-musl: do not remove gcc's stddef.h

224951e9dd forgot to address aarch64-musl,
possibly because it was added around that time.
This commit is contained in:
Piraty 2020-08-16 10:47:44 +02:00
parent 37d726c9f4
commit 849570a814

View file

@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.33
revision=2
revision=3
short_desc="Cross toolchain for ARM64 LE target (musl)"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/"
@ -284,8 +284,7 @@ do_install() {
make DESTDIR=${DESTDIR}/${_sysroot} install
# Remove useless headers.
rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed/ \
${DESTDIR}/usr/lib/gcc/${_triplet}/*/include/stddef.h
rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed
# Make ld-musl.so symlinks relative.
ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-aarch64.so.1