diff --git a/tesseract.spec b/tesseract.spec index 600f496..7661716 100644 --- a/tesseract.spec +++ b/tesseract.spec @@ -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