From de7ddf5be13ef23b6e40b8d0d3e10b76d69319f1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 4 Mar 2024 07:55:38 +0000 Subject: [PATCH] app-arch/libarchive: Sync with Gentoo It's from Gentoo commit 4c325e846f72b64ff3e73e9f3c4567c508da21e9. --- .../app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.7.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.7.2-r2.ebuild index c4c3526547..690f6b400a 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.7.2-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.7.2-r2.ebuild @@ -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