projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a680ae
)
meson: use -Wextra if available
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 4 Jul 2017 21:59:15 +0000
(17:59 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 4 Jul 2017 22:26:01 +0000
(18:26 -0400)
-Wextra was not added to CFLAGS under meson by default, as it is
done by the autotools build.
C.f.
218f46711115669c26389a5bad79e57aa3c37f66
.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
ce59d18
..
22fc8f5
100644
(file)
--- 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',