Temporarily disable LTO for aarch64 and ppc64le

Related: #1975482
Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
Daiki Ueno 2021-08-19 09:52:15 +02:00
parent 7cd5b1fd6a
commit f5efe3155e

View File

@ -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 <dueno@redhat.com> - 3.7.2-6
- Reorder doc/invoke-*.texi generation (#1975482)
- Temporarily disable LTO for aarch64 and ppc64le
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.7.2-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags