mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
meson: Fix build with MSVC
Check compiler options with cc.get_supported_arguments(). Fixes #842
This commit is contained in:
parent
b524cd7af2
commit
f043bf2522
@ -76,7 +76,7 @@ global_args = [
|
||||
'-Wno-format-extra-args',
|
||||
'-Wno-array-bounds',
|
||||
]
|
||||
|
||||
global_args = cc.get_supported_arguments(global_args)
|
||||
add_project_arguments(global_args, language: 'c')
|
||||
|
||||
# options
|
||||
|
Loading…
x
Reference in New Issue
Block a user