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-include-dirs',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wparentheses-equality',
|
||||
'-Wpointer-arith',
|
||||
'-Wshadow',
|
||||
'-Wshift-negative-value',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wtypedef-redefinition',
|
||||
'-Wundef',
|
||||
'-Wunknown-attributes',
|
||||
'-Wvla',
|
||||
'-Wno-duplicate-decl-specifier',
|
||||
'-Wno-format-truncation',
|
||||
@@ -200,13 +203,6 @@ common_flags += cc.get_supported_arguments([
|
||||
'-Wno-tautological-constant-out-of-range-compare',
|
||||
'-Wno-unknown-pragmas',
|
||||
'-Wno-unused-parameter',
|
||||
'-Wparentheses-equality',
|
||||
'-Wpointer-arith',
|
||||
'-Wshadow',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wtypedef-redefinition',
|
||||
'-Wundef',
|
||||
'-Wunknown-attributes',
|
||||
'-fno-strict-aliasing',
|
||||
])
|
||||
|
||||
|
Reference in New Issue
Block a user