Re-enable LTO

This commit is contained in:
Jeff Law 2022-02-12 13:56:05 -05:00
parent 3e904a6159
commit 1c866a75e7

View File

@ -5,7 +5,7 @@
Name: guitarix
Version: 0.43.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A virtual guitar amplifier
License: GPLv2+
URL: http://guitarix.sourceforge.net/
@ -136,12 +136,6 @@ rm -fr src/zita-convolver src/zita-resampler
sed -i -e 's|-O3||' wscript
%build
# This package uses a custom linker script. At first glance I would expect
# what the script is doing to work. Unfortunately the build system does not
# make it easy to run specific steps by hand, so I can't really dig into
# what's going on. Disable LTO for now.
%define _lto_cflags %{nil}
%set_build_flags
CXXFLAGS+=" -fomit-frame-pointer -ftree-loop-linear -ffinite-math-only -fno-math-errno -fno-signed-zeros -fstrength-reduce"
%ifarch %{ix86}
@ -214,6 +208,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.%{name}.%{
%{_libdir}/lv2/*
%changelog
* Sat Feb 12 2022 Jeff Law <jeffreyalaw@gmail.com> - 0.43.1-3
- Re-enable LTO
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.43.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild