meson: drop no_override_init_args

No longer needed

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
pull/941/head
Emil Velikov 1 year ago committed by jackun
parent ef169bd28b
commit 270beefdf3

@ -151,13 +151,6 @@ foreach a : ['non-virtual-dtor', 'missing-field-initializers', 'format-truncatio
endif
endforeach
no_override_init_args = []
foreach a : ['override-init', 'initializer-overrides']
if cc.has_argument('-W' + a)
no_override_init_args += '-Wno-' + a
endif
endforeach
foreach a : pre_args
add_project_arguments(a, language : ['c', 'cpp'])
endforeach

@ -165,7 +165,6 @@ mangohud_static_lib = static_library(
overlay_spv,
c_args : [
pre_args,
no_override_init_args,
vulkan_wsi_args
],
cpp_args : [
@ -207,7 +206,6 @@ if is_unixy
),
c_args : [
pre_args,
no_override_init_args,
],
cpp_args : [
pre_args,
@ -232,7 +230,6 @@ if sizeof_ptr != 4 or get_option('mangoapp_32bit')
),
c_args : [
pre_args,
no_override_init_args,
vulkan_wsi_args
],
cpp_args : [
@ -276,7 +273,6 @@ if get_option('mangoapp_layer')
),
c_args : [
pre_args,
no_override_init_args,
],
cpp_args : [
pre_args,

Loading…
Cancel
Save