cross-mips{,el}-linux-musl{,hf}: preserve gcc's stddef.h.

This commit is contained in:
Juan RP 2015-07-09 11:33:33 +02:00
parent a111be40cb
commit e9f4dd6276
2 changed files with 4 additions and 6 deletions

View File

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

View File

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