mirror of
https://github.com/systemd/systemd.git
synced 2024-12-04 15:53:41 +08:00
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. 218f467111
.
This commit is contained in:
parent
1a680ae367
commit
75cf1d66b0
@ -230,7 +230,8 @@ if cxx.found()
|
|||||||
add_languages('cpp')
|
add_languages('cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach arg : ['-Wundef',
|
foreach arg : ['-Wextra',
|
||||||
|
'-Wundef',
|
||||||
'-Wlogical-op',
|
'-Wlogical-op',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
|
Loading…
Reference in New Issue
Block a user