From 69b858444cd66010663cce5cecfbdffe2e95a728 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Aug 31 2020 18:49:34 +0000 Subject: - Do not ask for cortex-a9 which conflicts with baseline armv7a - Re-enable LTO --- diff --git a/zynaddsubfx-cortex.patch b/zynaddsubfx-cortex.patch new file mode 100644 index 0000000..557c07f --- /dev/null +++ b/zynaddsubfx-cortex.patch @@ -0,0 +1,13 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 959b852..232b0bf 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -199,7 +199,7 @@ set (BuildOptions_X86_64Core2 + ) + + set (BuildOptions_NEON +- "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a9 -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations" ++ "-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -pipe -mvectorize-with-neon-quad -funsafe-loop-optimizations" + CACHE STRING "Cortex_a9 compiler options" + ) + set (BuildOptions_SSE diff --git a/zynaddsubfx.spec b/zynaddsubfx.spec index 2f56d01..b994cd4 100644 --- a/zynaddsubfx.spec +++ b/zynaddsubfx.spec @@ -1,16 +1,15 @@ -# Disable lto -%define _lto_cflags %{nil} - Summary: Real-time software synthesizer Name: zynaddsubfx Version: 3.0.5 -Release: 7%{?dist} +Release: 8%{?dist} # Source is a collective work, distributed by License: GPLv2 and GPLv2+ URL: http://zynaddsubfx.sourceforge.net Source0: http://download.sf.net/sourceforge/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2 # We cannot build this from source since Fedora's texlive is too old Patch0: zynaddsubfx-buildflags.patch +# Do not ask for cortex-a9 which conflicts with the armv7a baseline +Patch1: zynaddsubfx-cortex.patch Requires: hicolor-icon-theme Requires: %{name}-common = %{version}-%{release} @@ -161,6 +160,10 @@ install -d -m 0755 %{buildroot}%{_libdir}/%{name} %{_libdir}/vst/*.so %changelog +* Mon Aug 31 2020 Jeff Law - 3.0.5-8 +- Do not ask for cortex-a9 which conflicts with baseline armv7a +- Re-enable LTO + * Mon Aug 10 2020 Guido Aulisi - 3.0.5-7 - Fix FTBFS in Fedora rawhide/f33 (#1865663)