Fix FTBFS on i686

This commit is contained in:
Guido Aulisi 2020-06-12 18:43:13 +02:00
parent bd98c89760
commit 4559ff7b0e

View File

@ -5,7 +5,7 @@
Name: guitarix
Version: 0.40.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A virtual guitar amplifier
License: GPLv2+
URL: http://guitarix.sourceforge.net/
@ -142,8 +142,8 @@ sed -i -e 's|-O3||' wscript
%set_build_flags
CXXFLAGS+=" -fomit-frame-pointer -ftree-loop-linear -ffinite-math-only -fno-math-errno -fno-signed-zeros -fstrength-reduce"
%ifarch %{ix86}
CFLAGS+=" -msse -mfpmath=sse"
CXXFLAGS+=" -msse -mfpmath=sse"
CFLAGS+=" -msse"
CXXFLAGS+=" -msse"
%endif
%ifarch x86_64
@ -221,6 +221,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_libdir}/lv2/*
%changelog
* Fri Jun 12 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.40.0-2
- Fix FTBFS on i686
* Thu Jun 11 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.40.0-1
- Update to 0.40.0
- Add appdata