From 729f8ecea839d9dcc79fbc0d2f92ced1c9925396 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Fri, 9 Feb 2018 19:13:28 +0100 Subject: [PATCH] make the package build on armv7hl FIXME: The resulting binaries cannot work properly!!! --- libnice.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libnice.spec b/libnice.spec index b51908b..17156df 100644 --- a/libnice.spec +++ b/libnice.spec @@ -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 - 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