mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-tcltk/tclxml: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958240 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a
|
||||
|
||||
MYPN=TclXML
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
@@ -38,6 +40,7 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
local myconf=""
|
||||
|
||||
use threads && myconf="${myconf} --enable-threads"
|
||||
@@ -50,3 +53,8 @@ src_configure() {
|
||||
$(use_enable amd64 64bit) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
strip-lto-bytecode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user