From: Zbigniew Jędrzejewski-Szmek Date: Tue, 4 Jul 2017 21:59:15 +0000 (-0400) Subject: meson: use -Wextra if available X-Git-Tag: v234~19^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8;p=thirdparty%2Fsystemd.git meson: use -Wextra if available -Wextra was not added to CFLAGS under meson by default, as it is done by the autotools build. C.f. 218f46711115669c26389a5bad79e57aa3c37f66. --- diff --git a/meson.build b/meson.build index ce59d18b83f..22fc8f5b525 100644 --- a/meson.build +++ b/meson.build @@ -230,7 +230,8 @@ if cxx.found() add_languages('cpp') endif -foreach arg : ['-Wundef', +foreach arg : ['-Wextra', + '-Wundef', '-Wlogical-op', '-Wmissing-include-dirs', '-Wold-style-definition',