make the package build on armv7hl

FIXME: The resulting binaries cannot work properly!!!
This commit is contained in:
Kamil Dudka 2018-02-09 19:13:28 +01:00
parent 6eb057143c
commit 729f8ecea8

View File

@ -83,6 +83,10 @@ export CFLAGS="$RPM_OPT_FLAGS"
# cannot work properly!!!
CFLAGS="$CFLAGS -Wno-error=cast-function-type"
%endif
%ifarch armv7hl
# FIXME: basically the same problem on armv7hl with both Fedora 27 and 28
CFLAGS="$CFLAGS -Wno-error=cast-align"
%endif
%configure --disable-static \
%if %{with gst010}
@ -135,6 +139,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
* Fri Feb 09 2018 Kamil Dudka <kdudka@redhat.com> - 0.1.14-4.20171128gitfb2f1f7
- make the package build on armv7hl
- make the package build on Fedora 28
- avoid build failure if gstreamer-plugins-base-devel is installed
- move autoreconf invocation to %%prep