mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 06:38:11 +02:00
meson: add additional debug CFLAGS to use the same ones autotools uses
(cherry picked from commit 6dc8167588)
This commit is contained in:
parent
96f50cf9d8
commit
ef786159c4
1 changed files with 12 additions and 0 deletions
12
meson.build
12
meson.build
|
|
@ -163,16 +163,28 @@ endif
|
||||||
|
|
||||||
if nm_debug
|
if nm_debug
|
||||||
common_flags += cc.get_supported_arguments([
|
common_flags += cc.get_supported_arguments([
|
||||||
|
'-Wall',
|
||||||
|
'-Wextra',
|
||||||
'-Wdeclaration-after-statement',
|
'-Wdeclaration-after-statement',
|
||||||
'-Wfloat-equal',
|
'-Wfloat-equal',
|
||||||
|
'-Wformat-nonliteral',
|
||||||
|
'-Wformat-security',
|
||||||
'-Wimplicit-fallthrough',
|
'-Wimplicit-fallthrough',
|
||||||
|
'-Wimplicit-function-declaration',
|
||||||
'-Winit-self',
|
'-Winit-self',
|
||||||
'-Wlogical-op',
|
'-Wlogical-op',
|
||||||
'-Wmissing-declarations',
|
'-Wmissing-declarations',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
|
'-Wpointer-arith',
|
||||||
|
'-Wshadow',
|
||||||
|
'-Wshift-negative-value',
|
||||||
|
'-Wstrict-prototypes',
|
||||||
|
'-Wundef',
|
||||||
|
'-Wvla',
|
||||||
'-Wno-duplicate-decl-specifier',
|
'-Wno-duplicate-decl-specifier',
|
||||||
'-Wno-format-truncation',
|
'-Wno-format-truncation',
|
||||||
|
'-Wno-format-y2k',
|
||||||
'-Wno-gnu-variable-sized-type-not-at-end',
|
'-Wno-gnu-variable-sized-type-not-at-end',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
'-Wno-pragmas',
|
'-Wno-pragmas',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue