Commit f7b5e48c authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

contrib/rpm: don't force fatal warnings with tests

It just doesn't make sense and just breaks stuff when nobody asked for
it.
parent c4c8ffd1
......@@ -402,11 +402,6 @@ intltoolize --automake --copy --force
--with-dhcpcanon=no \
--with-config-dhcp-default=dhclient \
--with-crypto=nss \
%if %{with test}
--enable-more-warnings=error \
%else
--enable-more-warnings=yes \
%endif
%if %{with sanitizer}
--enable-address-sanitizer \
--enable-undefined-sanitizer \
......@@ -478,6 +473,7 @@ intltoolize --automake --copy --force
%if %{with test}
--with-tests=yes \
%else
--enable-more-warnings=yes \
--with-tests=no \
%endif
--with-valgrind=no \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment