aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-10-07 08:29:42 -0700
committerQuentin Retornaz <gentoo@retornaz.com>2022-10-07 23:11:14 +0200
commitc5b1dce9793dd542b88f5da82b7b34b1b36e3155 (patch)
treef0c4f3c9bd782965185e3ac8c1b28602b23865b1 /app-crypt
parentapp-crypt/tpm2-tss: Add 3.2.0-r4 (diff)
downloadlibressl-c5b1dce9793dd542b88f5da82b7b34b1b36e3155.tar.gz
libressl-c5b1dce9793dd542b88f5da82b7b34b1b36e3155.tar.bz2
libressl-c5b1dce9793dd542b88f5da82b7b34b1b36e3155.zip
app-crypt/tpm2-tss: Merge ::gentoo changes
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild7
1 files 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) \