Fix GCC 10

stripping breaks it
This commit is contained in:
fosslinux 2023-02-13 19:48:31 +11:00
parent 4b5b037718
commit 946dd8ee33
2 changed files with 1 additions and 17 deletions

View file

@ -97,19 +97,3 @@ src_configure() {
--enable-threads=posix \
--disable-libsanitizer
}
src_install() {
default
# Reduce final size of GCC 10.
find "${DESTDIR}" -type f | while read f; do
case "$(file -bi "${f}")" in
application/x-executable*|\
application/x-sharedlib*|\
application/x-pie-executable*|\
application/x-archive*)
strip "${f}"
;;
esac
done
}