Disable LTO on ppc64le
This commit is contained in:
parent
edf183f7fd
commit
f21c1c5adf
10
gnutls.spec
10
gnutls.spec
@ -1,6 +1,6 @@
|
|||||||
# This spec file has been automatically updated
|
# This spec file has been automatically updated
|
||||||
Version: 3.6.14
|
Version: 3.6.14
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Patch1: gnutls-3.6.7-no-now-guile.patch
|
Patch1: gnutls-3.6.7-no-now-guile.patch
|
||||||
Patch2: gnutls-3.2.7-rpath.patch
|
Patch2: gnutls-3.2.7-rpath.patch
|
||||||
Patch3: gnutls-3.6.14-fix-iovec-memory-leak.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
|
# via the crypto policies
|
||||||
|
|
||||||
%build
|
%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"
|
CCASFLAGS="$CCASFLAGS -Wa,--generate-missing-build-notes=yes"
|
||||||
export CCASFLAGS
|
export CCASFLAGS
|
||||||
|
|
||||||
@ -282,6 +287,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 17 2020 Jeff Law <law@redhat.com> - 3.6.14-7
|
||||||
|
- Disable LTO on ppc64le
|
||||||
|
|
||||||
* Tue Aug 4 2020 Daiki Ueno <dueno@redhat.com> - 3.6.14-6
|
* Tue Aug 4 2020 Daiki Ueno <dueno@redhat.com> - 3.6.14-6
|
||||||
- Fix underlinking of libpthread
|
- Fix underlinking of libpthread
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user