app-arch/libarchive: elibtoolize to respect flags w/ LTO

Our elt-patches contain fixes to respect LTO properly:
```
 * Running elibtoolize in: libarchive-3.7.2/
 *   Applying ppc64le/2.4.4 patch ...
 * Running elibtoolize in: libarchive-3.7.2/build/autoconf/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 *   Applying werror/2.4.6 patch ...
 *   Applying cxx-pthread/2.4.6 patch ...
 *   Applying color-record/2.4.6-alt patch ...
 *   Applying sed-quote/2.4.6 patch ...
```

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-02-29 07:14:43 +00:00
parent d87b27cf6d
commit 4c325e846f

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal toolchain-funcs verify-sig
inherit libtool multilib-minimal toolchain-funcs verify-sig
DESCRIPTION="Multi-format archive and compression library"
HOMEPAGE="
@@ -78,6 +78,13 @@ PATCHES=(
"${FILESDIR}/${P}-lrzip.patch"
)
src_prepare() {
default
# Needed for flags to be respected w/ LTO
elibtoolize
}
multilib_src_configure() {
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923