From f5efe3155eb632f049a4fdb45bc47de19ea18ab5 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 19 Aug 2021 09:52:15 +0200 Subject: [PATCH] Temporarily disable LTO for aarch64 and ppc64le Related: #1975482 Signed-off-by: Daiki Ueno --- gnutls.spec | 4 ++++ 1 file changed, 4 insertions(+) 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