diff --git a/gnutls.spec b/gnutls.spec index 8767ccc..fddce83 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ # This spec file has been automatically updated Version: 3.6.14 -Release: 6%{?dist} +Release: 7%{?dist} Patch1: gnutls-3.6.7-no-now-guile.patch Patch2: gnutls-3.2.7-rpath.patch Patch3: gnutls-3.6.14-fix-iovec-memory-leak.patch @@ -158,6 +158,11 @@ echo "SYSTEM=NORMAL" >> tests/system.prio # via the crypto policies %build +# gnulib has bogus floating point tests which are compromised by +# LTO affecting ppc64le builds +%ifarch ppc64le +%define _lto_cflags %{nil} +%endif CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes" export CCASFLAGS @@ -282,6 +287,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null %endif %changelog +* Mon Aug 17 2020 Jeff Law - 3.6.14-7 +- Disable LTO on ppc64le + * Tue Aug 4 2020 Daiki Ueno - 3.6.14-6 - Fix underlinking of libpthread