cross-mips{,el}-linux-musl{,hf}: preserve gcc's stddef.h.
This commit is contained in:
parent
a111be40cb
commit
e9f4dd6276
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue