meson: split more compiler options to their own line
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
@@ -896,7 +896,8 @@ foreach a : ['-Werror=implicit-function-declaration',
|
|||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
'-Wno-format-truncation',
|
'-Wno-format-truncation',
|
||||||
'-fno-math-errno',
|
'-fno-math-errno',
|
||||||
'-fno-trapping-math', '-Qunused-arguments']
|
'-fno-trapping-math',
|
||||||
|
'-Qunused-arguments']
|
||||||
if cc.has_argument(a)
|
if cc.has_argument(a)
|
||||||
c_args += a
|
c_args += a
|
||||||
endif
|
endif
|
||||||
@@ -915,7 +916,8 @@ foreach a : ['-Werror=return-type',
|
|||||||
'-Wno-non-virtual-dtor',
|
'-Wno-non-virtual-dtor',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
'-Wno-format-truncation',
|
'-Wno-format-truncation',
|
||||||
'-fno-math-errno', '-fno-trapping-math',
|
'-fno-math-errno',
|
||||||
|
'-fno-trapping-math',
|
||||||
'-Qunused-arguments']
|
'-Qunused-arguments']
|
||||||
if cpp.has_argument(a)
|
if cpp.has_argument(a)
|
||||||
cpp_args += a
|
cpp_args += a
|
||||||
|
Reference in New Issue
Block a user