From 3fbd82465cbf01f0b23848d26754082f82db4672 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 10 Aug 2020 21:02:09 -0600 Subject: [PATCH] Disable LTO on s390x for now --- cyrus-imapd.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index 53f6ac0..dc436d4 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -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 - 3.0.13-12 +- Disable LTO on s390x for now + * Sat Aug 01 2020 Fedora Release Engineering - 3.0.13-11 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild