mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 07:38:20 +02:00
Revert "contrib/rpm: enable -Werror on --with debug instead of --with test"
This reverts commit cac11c736d.
It went in accidentally.
This commit is contained in:
parent
5b7f8f3f70
commit
3ce3451040
1 changed files with 8 additions and 3 deletions
|
|
@ -611,6 +611,9 @@ Preferably use nmcli instead.
|
||||||
%meson \
|
%meson \
|
||||||
-Db_ndebug=false \
|
-Db_ndebug=false \
|
||||||
--warnlevel 2 \
|
--warnlevel 2 \
|
||||||
|
%if %{with test}
|
||||||
|
--werror \
|
||||||
|
%endif
|
||||||
-Dnft=/usr/sbin/nft \
|
-Dnft=/usr/sbin/nft \
|
||||||
-Diptables=/usr/sbin/iptables \
|
-Diptables=/usr/sbin/iptables \
|
||||||
-Ddhcpcanon=no \
|
-Ddhcpcanon=no \
|
||||||
|
|
@ -622,7 +625,6 @@ Preferably use nmcli instead.
|
||||||
-Dcrypto=nss \
|
-Dcrypto=nss \
|
||||||
%endif
|
%endif
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
--werror \
|
|
||||||
-Dmore_logging=true \
|
-Dmore_logging=true \
|
||||||
-Dmore_asserts=10000 \
|
-Dmore_asserts=10000 \
|
||||||
%else
|
%else
|
||||||
|
|
@ -764,11 +766,9 @@ autoreconf --install --force
|
||||||
--disable-undefined-sanitizer \
|
--disable-undefined-sanitizer \
|
||||||
%endif
|
%endif
|
||||||
%if %{with debug}
|
%if %{with debug}
|
||||||
--enable-more-warnings=error \
|
|
||||||
--enable-more-logging \
|
--enable-more-logging \
|
||||||
--with-more-asserts=10000 \
|
--with-more-asserts=10000 \
|
||||||
%else
|
%else
|
||||||
--enable-more-warnings=yes \
|
|
||||||
--disable-more-logging \
|
--disable-more-logging \
|
||||||
--without-more-asserts \
|
--without-more-asserts \
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -846,6 +846,11 @@ autoreconf --install --force
|
||||||
--with-system-ca-path=/etc/pki/tls/cert.pem \
|
--with-system-ca-path=/etc/pki/tls/cert.pem \
|
||||||
--with-dbus-sys-dir=%{dbus_sys_dir} \
|
--with-dbus-sys-dir=%{dbus_sys_dir} \
|
||||||
--with-tests=yes \
|
--with-tests=yes \
|
||||||
|
%if %{with test}
|
||||||
|
--enable-more-warnings=error \
|
||||||
|
%else
|
||||||
|
--enable-more-warnings=yes \
|
||||||
|
%endif
|
||||||
--with-valgrind=no \
|
--with-valgrind=no \
|
||||||
--enable-ifcfg-rh=yes \
|
--enable-ifcfg-rh=yes \
|
||||||
--enable-ifupdown=no \
|
--enable-ifupdown=no \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue