From 4345d3c47bcb2687e1a46cbb793d71939a477610 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 10 May 2021 12:08:39 -0600 Subject: [PATCH] Re-enable LTO --- dovecot.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dovecot.spec b/dovecot.spec index aba275c..5c8751a 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -5,7 +5,7 @@ Name: dovecot Epoch: 1 Version: 2.3.14 %global prever %{nil} -Release: 1%{?dist} +Release: 2%{?dist} #dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2 License: MIT and LGPLv2 @@ -133,9 +133,6 @@ This package provides the development files for dovecot. sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags libclucene-core)|" src/plugins/fts-lucene/Makefile.in %build -# This package references hidden symbols during an LTO link. This needs further -# investigation. Until then, disable LTO -%define _lto_cflags %{nil} #required for fdpass.c line 125,190: dereferencing type-punned pointer will break strict-aliasing rules %global _hardened_build 1 export CFLAGS="%{__global_cflags} -fno-strict-aliasing -fstack-reuse=none" @@ -452,6 +449,9 @@ make check %{_libdir}/%{name}/dict/libdriver_pgsql.so %changelog +* Mon May 10 2021 Jeff Law - 1:2.3.14-2 +- Re-enable LTO + * Mon Mar 22 2021 Michal Hlavinka - 1:2.3.14-1 - dovecot updated to 2.3.14, pigeonhole to 0.5.14 - use OpenSSL's implementation of HMAC