diff --git a/gnutls.spec b/gnutls.spec index e8082a4..b9ec07a 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -187,6 +187,9 @@ touch doc/gnutls.info doc/gnutls.html doc/manpages/stamp_mans # via the crypto policies %build +%ifarch aarch64 ppc64le +%define _lto_cflags %{nil} +%endif CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes" export CCASFLAGS @@ -321,6 +324,7 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null %changelog * Thu Aug 19 2021 Daiki Ueno - 3.7.2-6 - Reorder doc/invoke-*.texi generation (#1975482) +- Temporarily disable LTO for aarch64 and ppc64le * Mon Aug 09 2021 Mohan Boddu - 3.7.2-5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags