From 6488d175784ffe55b95a85adaeb377dad8212dc3 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jun 30 2020 20:00:57 +0000 Subject: Disable LTO --- diff --git a/netatalk.spec b/netatalk.spec index 55f6ade..d903ec7 100644 --- a/netatalk.spec +++ b/netatalk.spec @@ -37,7 +37,7 @@ Name: netatalk Epoch: 5 Version: 3.1.12 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Open Source Apple Filing Protocol(AFP) File Server License: GPL+ and GPLv2 and GPLv2+ and LGPLv2+ and BSD and FSFUL and MIT # Project is also mirrored at https://github.com/Netatalk/Netatalk @@ -137,6 +137,9 @@ find include \( -name '*.h' -a -executable \) -exec chmod -x {} \; sed -i 's\-systemctl daemon-reload\\g' distrib/initscripts/Makefile.in %build +# This package has static probes which do not work with LTO +# Disable LTO +%define _lto_cflags %{nil} %configure \ --localstatedir=%{_localstatedir}/lib \ @@ -226,6 +229,9 @@ sh test/afpd/test.sh %{_mandir}/man*/netatalk-config.1* %changelog +* Tue Jun 30 2020 Jeff Law - 5:3.1.12-17 +Disable LTO + * Fri Jun 26 2020 Jitka Plesnikova - 5:3.1.12-16 - Perl 5.32 re-rebuild of bootstrapped packages