mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-12 06:15:29 +01:00
Fix GCC 10
stripping breaks it
This commit is contained in:
parent
4b5b037718
commit
946dd8ee33
2 changed files with 1 additions and 17 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue