Disable LTO on s390x for now

This commit is contained in:
Jeff Law 2020-08-10 21:02:09 -06:00
parent 78bcd14371
commit 3fbd82465c

View File

@ -9,7 +9,7 @@
Name: cyrus-imapd
Version: 3.0.13
Release: 11%{?dist}
Release: 12%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name
@ -302,6 +302,11 @@ sed -i \
%build
# This package fails its testsuite on s390x when LTO is enabled. Root cause
# analysis has not yet been performed
%ifarch s390x
%define _lto_cflags %{nil}
%endif
# This is the test suite, which doesn't build much but does verify its dependencies.
# If this is done after the configure call, the one thing it does build fails
# because the configure macro puts some hardening flags into the environment.
@ -721,6 +726,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
* Mon Aug 10 2020 Jeff Law <law@redhat.com> - 3.0.13-12
- Disable LTO on s390x for now
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.13-11
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild