Strip created binaries & libraries

This commit is contained in:
fosslinux 2023-02-26 20:41:59 +11:00
parent 73acbedf16
commit 76a5639b30
4 changed files with 83 additions and 47 deletions

View file

@ -26,3 +26,9 @@ src_compile() {
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}
src_postprocess() {
# For some unexplainable reason, stripping mpfr breaks GCC 10 build.
# I cannot make any sense of the error, so skip for now.
:
}

View file

@ -44,3 +44,8 @@ src_install() {
ln --symbolic --relative "${DESTDIR}/${PREFIX}/lib" "${DESTDIR}/lib"
ln --symbolic --relative "${DESTDIR}/${PREFIX}/bin" "${DESTDIR}/bin"
}
src_postprocess() {
# Stripping libc can cause some strange brokenness
:
}