panfrost/meson: drop invalid C-only -Wno-override-init from C++ args

cc1plus: warning: command-line option '-Wno-override-init' is valid for C/ObjC but not for C++

Missed this one in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35892

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36020>
This commit is contained in:
Eric Engestrom 2025-07-09 13:43:11 +02:00 committed by Marge Bot
parent d93840dc22
commit 563bfa2c17

View file

@ -172,7 +172,7 @@ if with_tests
'valhall/test/test-merge-flow.cpp',
'valhall/test/test-packing.cpp',
),
cpp_args : [cpp_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_msvc_compat_args],
gnu_symbol_visibility : 'hidden',
include_directories : [inc_include, inc_src, inc_valhall],
dependencies: [idep_gtest, idep_nir, idep_bi_opcodes_h, idep_bi_builder_h, idep_valhall_enums_h],