diff --git a/libnice.spec b/libnice.spec index 108c26f..4b4202d 100644 --- a/libnice.spec +++ b/libnice.spec @@ -87,18 +87,7 @@ autoreconf -fiv %build -export CFLAGS="$RPM_OPT_FLAGS" -%if 0%{?fedora} == 28 -# FIXME: This makes the code compile on Fedora 28 but the resulting binaries -# 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 \ +%configure --enable-compile-warnings=yes --disable-static \ %if %{with gst010} --with-gstreamer-0.10 %else @@ -154,6 +143,7 @@ make check %changelog * Fri Mar 16 2018 Kamil Dudka - 0.1.14-5.20171128gitfb2f1f7 +- do not build with -Werror by default - make the build more verbose * Fri Feb 09 2018 Kamil Dudka - 0.1.14-4.20171128gitfb2f1f7