Fix FTBFS on i686 (2nd attempt)

This commit is contained in:
Guido Aulisi 2020-06-13 00:48:48 +02:00
parent 4559ff7b0e
commit cea3baa4e4

View File

@ -5,7 +5,7 @@
Name: guitarix Name: guitarix
Version: 0.40.0 Version: 0.40.0
Release: 2%{?dist} Release: 3%{?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,13 +142,7 @@ 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" CXXFLAGS+=" -mfxsr"
CXXFLAGS+=" -msse"
%endif
%ifarch x86_64
CFLAGS+=" -msse2 -mfpmath=sse"
CXXFLAGS+=" -msse2 -mfpmath=sse"
%endif %endif
./waf -vv configure --prefix=%{_prefix} --libdir=%{_libdir} \ ./waf -vv configure --prefix=%{_prefix} --libdir=%{_libdir} \
@ -221,6 +215,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-3
- Fix FTBFS on i686 (2nd attempt)
* Fri Jun 12 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.40.0-2 * Fri Jun 12 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.40.0-2
- Fix FTBFS on i686 - Fix FTBFS on i686