From e9f4dd62762d9be952f8a963e06d1b3605365145 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 9 Jul 2015 11:33:33 +0200 Subject: [PATCH] cross-mips{,el}-linux-musl{,hf}: preserve gcc's stddef.h. --- srcpkgs/cross-mips-linux-musl/template | 5 ++--- srcpkgs/cross-mipsel-linux-muslhf/template | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cross-mips-linux-musl/template b/srcpkgs/cross-mips-linux-musl/template index f2751b06800..0567f970c40 100644 --- a/srcpkgs/cross-mips-linux-musl/template +++ b/srcpkgs/cross-mips-linux-musl/template @@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.20 -revision=1 +revision=2 short_desc="Cross toolchain for MIPS32r2 BE softfloat target (musl)" maintainer="Juan RP " homepage="http://www.voidlinux.eu" @@ -194,8 +194,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-mips.so.1 diff --git a/srcpkgs/cross-mipsel-linux-muslhf/template b/srcpkgs/cross-mipsel-linux-muslhf/template index 3fd65b25698..bc34effb756 100644 --- a/srcpkgs/cross-mipsel-linux-muslhf/template +++ b/srcpkgs/cross-mipsel-linux-muslhf/template @@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.20 -revision=1 +revision=2 short_desc="Cross toolchain for MIPS32r2 LE hardfloat target (musl)" maintainer="Juan RP " homepage="http://www.voidlinux.eu" @@ -194,8 +194,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-mipsel.so.1