Workaround armv7hl build failure due to -mfpu=vfpv3-d16 appearing after mfpu=neon
This commit is contained in:
parent
3361cdfe52
commit
e6f7f8f417
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue