commit:     c5b1dce9793dd542b88f5da82b7b34b1b36e3155
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Oct  7 15:29:42 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Fri Oct  7 21:11:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=c5b1dce9

app-crypt/tpm2-tss: Merge ::gentoo changes

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild 
b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
index bc8875b..a0a03c8 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
@@ -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,9 +60,12 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # tests fail with LTO enabbled. See bug 865275 and 865279
+       filter-lto
+
        ECONF_SOURCE=${S} econf \
                --localstatedir=/var \
-               $(use_enable doc doxygen-doc) \
+               $(multilib_native_use_enable doc doxygen-doc) \
                $(use_enable fapi) \
                $(use_enable static-libs static) \
                $(multilib_native_use_enable test unit) \

Reply via email to