mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 00:55:56 +00:00
contrib/rpm: enable warnings and fatal-warnings with meson build
This commit is contained in:
parent
c537e5fd25
commit
ff5944ce03
|
@ -475,6 +475,10 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||
%build
|
||||
%if %{with meson}
|
||||
%meson \
|
||||
--warnlevel 2 \
|
||||
%if %{with test}
|
||||
--werror \
|
||||
%endif
|
||||
-Ddhcpcanon=no \
|
||||
-Ddhcpcd=no \
|
||||
-Dconfig_dhcp_default=%{dhcp_default} \
|
||||
|
|
Loading…
Reference in a new issue