intel/vk/grl: Do not use no_override_init_args for C++
It's only valid for C code. Avoids cc1plus: error: command-line option '-Wno-override-init' is valid for C/ObjC but not for C++ [-Werror] Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
This commit is contained in:
@@ -169,7 +169,7 @@ foreach t : [['125', 'gfx125', 'dg2']]
|
||||
'-DGFX_VERx10=@0@'.format(verX10),
|
||||
],
|
||||
cpp_args : [
|
||||
no_override_init_args, sse2_args,
|
||||
sse2_args,
|
||||
'-DGFX_VERx10=@0@'.format(verX10),
|
||||
],
|
||||
dependencies : [
|
||||
|
||||
Reference in New Issue
Block a user