app-crypt/tpm2-tss: Filter out LTO flags due test failures

Closes: https://bugs.gentoo.org/865279
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27482
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Christopher Byrne
2022-09-27 22:42:36 +01:00
committed by Sam James
parent 9a4367ce5c
commit 2e558dc4ed
+4 -1
View File
@@ -3,7 +3,7 @@
EAPI=7
inherit autotools linux-info multilib-minimal tmpfiles udev
inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
@@ -60,6 +60,9 @@ src_prepare() {
}
multilib_src_configure() {
# tests fail with LTO enabbled. See bug 865275 and 865279
filter-lto
ECONF_SOURCE=${S} econf \
--localstatedir=/var \
$(multilib_native_use_enable doc doxygen-doc) \