diff --git a/tpm2-tools.spec b/tpm2-tools.spec index 958b755..29cc931 100644 --- a/tpm2-tools.spec +++ b/tpm2-tools.spec @@ -2,7 +2,7 @@ Name: tpm2-tools Version: 4.2.1 -Release: 1%{?candidate:.%{candidate}}%{?dist} +Release: 2%{?candidate:.%{candidate}}%{?dist} Summary: A bunch of TPM testing toolS build upon tpm2-tss License: BSD @@ -32,6 +32,11 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss. %autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}} %build +# LTO exposes a latent uninitialized variable "value" in the function # "nt". +# This has been reported to the maintainer (Yunying), but they have not +# responded and I am not comfortable enough with the code to know if a trivial +# initialization to zero is appropriate/safe. So LTO is disabled for now. +%define _lto_cflags %{nil} %configure --prefix=/usr --disable-static --disable-silent-rules %make_build @@ -49,6 +54,9 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss. %{_mandir}/man1/tss2_*.1.gz %changelog +* Tue Jun 30 2020 Jeff Law - 4.2.1-2 +- Disable LTO due to latent uninitialized variable exposed by LTO + * Wed May 27 2020 Peter Robinson - 4.2.1-1 - Update to 4.2.1