mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user