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')
|
||||
endif
|
||||
|
||||
foreach arg : ['-Wundef',
|
||||
foreach arg : ['-Wextra',
|
||||
'-Wundef',
|
||||
'-Wlogical-op',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Wold-style-definition',
|
||||
|
|
Loading…
Reference in a new issue