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