summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-04 17:59:15 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-04 18:26:01 -0400
commit75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8 (patch)
treed68ddf8bc7848758dbbef780ea7ad8b1464fbfb6
parentgpt-auto-generator: fix the handling of the value returned by fstab_has_fstyp... (diff)
downloadsystemd-75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8.tar.gz
systemd-75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8.tar.bz2
systemd-75cf1d66b0a2bbc8e0deba416c49d7afa4fa7cd8.zip
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.
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index ce59d18b8..22fc8f5b5 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',