mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
panfrost: use cpp_args instead of c_args for C++ files
c_args is not used for C++, so these were just being ignored. As far as I know this was inconsequential. I doubt anybody is compiling panfrost on msvc, and I didn't see any initializer override warnings. Signed-off-by: Olivia Lee <olivia.lee@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35035>
This commit is contained in:
parent
9ebb5e65fc
commit
6458880594
3 changed files with 3 additions and 3 deletions
|
|
@ -170,7 +170,7 @@ if with_tests
|
|||
'valhall/test/test-merge-flow.cpp',
|
||||
'valhall/test/test-packing.cpp',
|
||||
),
|
||||
c_args : [c_msvc_compat_args, no_override_init_args],
|
||||
cpp_args : [cpp_msvc_compat_args, no_override_init_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],
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ if with_tests
|
|||
'tests/test-earlyzs.cpp',
|
||||
'tests/test-layout.cpp',
|
||||
),
|
||||
c_args : [c_msvc_compat_args, no_override_init_args],
|
||||
cpp_args : [cpp_msvc_compat_args, no_override_init_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
include_directories : [inc_include, inc_src, inc_panfrost],
|
||||
dependencies: [idep_gtest, libpanfrost_dep],
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ if with_tests
|
|||
files(
|
||||
'test/test-tiling.cpp',
|
||||
),
|
||||
c_args : [c_msvc_compat_args, no_override_init_args],
|
||||
cpp_args : [cpp_msvc_compat_args, no_override_init_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
include_directories : [inc_include, inc_src, inc_panfrost],
|
||||
dependencies: [idep_gtest, idep_mesautil],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue