sys-devel/gcc-apple: drop prepstrip usage, bug #587314
authorFabian Groffen <grobian@gentoo.org>
Tue, 16 Jan 2018 08:42:29 +0000 (09:42 +0100)
committerFabian Groffen <grobian@gentoo.org>
Tue, 16 Jan 2018 08:42:56 +0000 (09:42 +0100)
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

sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild

index 12f3d99760d9a34db67293d2c1bdbb370174ea10..c46edae451a553af6d6e0adada648b6c29a31995 100644 (file)
@@ -338,13 +338,6 @@ src_install() {
                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