mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
contrib/rpm: don't force fatal warnings with tests
It just doesn't make sense and just breaks stuff when nobody asked for it.
This commit is contained in:
parent
c4c8ffd113
commit
f7b5e48cdb
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue