mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-07 11:55:23 +01:00
Strip created binaries & libraries
This commit is contained in:
parent
73acbedf16
commit
76a5639b30
4 changed files with 83 additions and 47 deletions
|
|
@ -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.
|
||||
:
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
:
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue