mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
sys-libs/binutils-libs: properly strip LTO bytecode from static libs
The fix inb2d68e3a4bstill wasn't right but I didn't notice because of the filter-lto. Bug: https://bugs.gentoo.org/924360 Fixes:b2d68e3a4bFixes:a00c963757Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -227,5 +227,6 @@ multilib_src_install() {
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
strip-lto-bytecode
|
||||
# Explicit "${ED}" as we need it to do things even w/ USE=-static-libs
|
||||
strip-lto-bytecode "${ED}"
|
||||
}
|
||||
|
||||
@@ -227,5 +227,6 @@ multilib_src_install() {
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
strip-lto-bytecode
|
||||
# Explicit "${ED}" as we need it to do things even w/ USE=-static-libs
|
||||
strip-lto-bytecode "${ED}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user