diff --git a/tss2.spec b/tss2.spec index e346c4da509563da4a20844734492e9955310831..3259d15aba2bb84734ea1ce638400213c8b4d4b1 100644 --- a/tss2.spec +++ b/tss2.spec @@ -7,7 +7,7 @@ Name: tss2 Version: 1470 -Release: 1%{?dist} +Release: 2 Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities License: BSD @@ -43,7 +43,7 @@ order to build TSS 2.0 applications. %build # nonstandard variable names are used in place of CFLAGS and LDFLAGS pushd utils -CCFLAGS="%{optflags}" \ +CCFLAGS="%{optflags} -fcommon" \ LNFLAGS="%{__global_ldflags}" \ %{make_build} -f makefiletpmc popd @@ -96,6 +96,9 @@ popd %doc ibmtss.doc %changelog +* Fri Jul 30 2021 Guoxiaoqi - 1470-2 +- Fix build with gcc-10 + * Tue Jul 14 2020 Roberto Sassu - 1470-1 - Import in openEuler