Re-enable LTO

This commit is contained in:
Jeff Law 2021-05-10 10:15:54 -06:00
parent a577df1d3a
commit b0b32533d8

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd
Version: 3.2.6
Release: 2%{?dist}
Release: 3%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name
@ -282,11 +282,6 @@ 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.
@ -645,6 +640,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
* Mon May 10 2021 Jeff Law <jlaw@tachyum.com> - 3.2.6-3
- Re-enable LTO
* Mon Mar 22 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-2
- Require online target to prevent binding to down devices