diff options
author | Sam James <sam@gentoo.org> | 2024-02-29 07:14:43 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-29 07:15:33 +0000 |
commit | 4c325e846f72b64ff3e73e9f3c4567c508da21e9 (patch) | |
tree | cf8c59e26e86c1035f00a59e70568729c5b3a966 /app-arch | |
parent | dev-ruby/capybara: enable ruby33 (diff) | |
download | gentoo-4c325e846f72b64ff3e73e9f3c4567c508da21e9.tar.gz gentoo-4c325e846f72b64ff3e73e9f3c4567c508da21e9.tar.bz2 gentoo-4c325e846f72b64ff3e73e9f3c4567c508da21e9.zip |
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>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild b/app-arch/libarchive/libarchive-3.7.2-r2.ebuild index c4c3526547e1..690f6b400ac8 100644 --- a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild +++ b/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 |