]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: clarify how to build without -Werror master
authorJán Tomko <jtomko@redhat.com>
Tue, 24 Jun 2025 15:48:00 +0000 (17:48 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 11 Jul 2025 12:36:15 +0000 (14:36 +0200)
--werror does not accept any arguments for me and setting
git_werror was also needed to disable it with git.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
docs/compiling.rst

index 0a47a50569188a108dfe93a7b9d1c8129125e122..69dd28129c900d7821a3ddcc36adff979e5bb827 100644 (file)
@@ -105,8 +105,8 @@ Notes:
 ~~~~~~
 
 By default when the ``meson`` is run from within a GIT checkout, it will turn
-on -Werror for builds. This can be disabled with --werror=false, but this is
-not recommended.
+on -Werror for builds. This can be disabled with
+``-Dwerror=false -Dgit_werror=disabled``, but this is not recommended.
 
 Please ensure that you have the appropriate minimal ``meson`` version installed
 in your build environment. The minimal version for a specific package can be