contrib/rpm: enable warnings and fatal-warnings with meson build

This commit is contained in:
Thomas Haller 2019-02-08 12:14:14 +01:00
parent c537e5fd25
commit ff5944ce03

View file

@ -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} \