From ca22aded04cabb6a71acb2b9271497b104bd6189 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 12:15:35 -0600 Subject: [PATCH] Disable LTO --- sssd.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sssd.spec b/sssd.spec index 08b5e46..7bd02b4 100644 --- a/sssd.spec +++ b/sssd.spec @@ -36,7 +36,7 @@ Name: sssd Version: 2.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: System Security Services Daemon License: GPLv3+ URL: https://github.com/SSSD/sssd/ @@ -513,6 +513,11 @@ for p in %patches ; do done %build +# This package uses -Wl,-wrap to wrap calls at link time. This is incompatible +# with LTO. +# Disable LTO +%define _lto_cflags %{nil} + autoreconf -ivf %configure \ @@ -1074,6 +1079,9 @@ fi %{_libdir}/%{name}/modules/libwbclient.so %changelog +* Wed Jul 1 2020 Jeff Law +- Disable LTO + * Fri Jun 19 2020 Peter Jones - Fix github url typo