Workaround armv7hl build failure due to -mfpu=vfpv3-d16 appearing after mfpu=neon

This commit is contained in:
Sandro Mani 2021-12-17 17:59:50 +01:00
parent 3361cdfe52
commit e6f7f8f417
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ The %{name}-tools package contains tools for training %{name}.
%build
./autogen.sh
%ifarch armv7hl
export CFLAGS="`echo %{optflags} | sed 's|-mfpu=vfpv3-d16||'`"
export CXXFLAGS="`echo %{optflags} | sed 's|-mfpu=vfpv3-d16||'`"
%endif
%configure --disable-static
%make_build
%make_build training