Prepstrip only deals with ELF, and the main consumer is using MACH-O
here, so it was never really run anyway.
Closes: https://bugs.gentoo.org/587314
Package-Manager: Portage-2.3.13, Repoman-2.3.3
rm -r "${D}"${LIBPATH}/include/libffi || die
fi
- # Now do the fun stripping stuff
- env RESTRICT="" CHOST=${CHOST} prepstrip "${D}${BINPATH}"
- env RESTRICT="" CHOST=${CTARGET} prepstrip "${D}${LIBPATH}"
- # gcc used to install helper binaries in lib/ but then moved to libexec/
- [[ -d ${ED}/usr/libexec/gcc ]] && \
- env RESTRICT="" CHOST=${CHOST} prepstrip "${ED}/usr/libexec/gcc/${CTARGET}/${GCC_VERS}"
-
# prune empty dirs left behind
find "${ED}" -type d | xargs rmdir >& /dev/null