build/meson: sort compiler flags in "meson.build"
Also remove duplicates.
This commit is contained in:
10
meson.build
10
meson.build
@@ -184,11 +184,14 @@ common_flags += cc.get_supported_arguments([
|
|||||||
'-Wmissing-declarations',
|
'-Wmissing-declarations',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
|
'-Wparentheses-equality',
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
'-Wshadow',
|
'-Wshadow',
|
||||||
'-Wshift-negative-value',
|
'-Wshift-negative-value',
|
||||||
'-Wstrict-prototypes',
|
'-Wstrict-prototypes',
|
||||||
|
'-Wtypedef-redefinition',
|
||||||
'-Wundef',
|
'-Wundef',
|
||||||
|
'-Wunknown-attributes',
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wno-duplicate-decl-specifier',
|
'-Wno-duplicate-decl-specifier',
|
||||||
'-Wno-format-truncation',
|
'-Wno-format-truncation',
|
||||||
@@ -200,13 +203,6 @@ common_flags += cc.get_supported_arguments([
|
|||||||
'-Wno-tautological-constant-out-of-range-compare',
|
'-Wno-tautological-constant-out-of-range-compare',
|
||||||
'-Wno-unknown-pragmas',
|
'-Wno-unknown-pragmas',
|
||||||
'-Wno-unused-parameter',
|
'-Wno-unused-parameter',
|
||||||
'-Wparentheses-equality',
|
|
||||||
'-Wpointer-arith',
|
|
||||||
'-Wshadow',
|
|
||||||
'-Wstrict-prototypes',
|
|
||||||
'-Wtypedef-redefinition',
|
|
||||||
'-Wundef',
|
|
||||||
'-Wunknown-attributes',
|
|
||||||
'-fno-strict-aliasing',
|
'-fno-strict-aliasing',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user