mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: Use c_msvc_compat_args.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11610>
This commit is contained in:
parent
b17f90ab4a
commit
c6bcafcc07
1 changed files with 3 additions and 3 deletions
|
|
@ -102,7 +102,7 @@ if not with_platform_windows
|
|||
endif
|
||||
|
||||
radv_deps = []
|
||||
radv_flags = cc.get_supported_arguments(['-Wimplicit-fallthrough', '-Wshadow', '-Wpointer-arith'])
|
||||
radv_flags = cc.get_supported_arguments(['-Wimplicit-fallthrough', '-Wshadow'])
|
||||
|
||||
if with_platform_x11
|
||||
radv_deps += dep_xcb_dri3
|
||||
|
|
@ -167,8 +167,8 @@ libvulkan_radeon = shared_library(
|
|||
dep_valgrind, radv_deps, idep_aco,
|
||||
idep_mesautil, idep_nir, idep_vulkan_util, idep_amdgfxregs_h, idep_xmlconfig,
|
||||
],
|
||||
c_args : [no_override_init_args, radv_flags],
|
||||
cpp_args : [radv_flags],
|
||||
c_args : [no_override_init_args, radv_flags, c_msvc_compat_args],
|
||||
cpp_args : [radv_flags, cpp_msvc_compat_args],
|
||||
link_args : [
|
||||
ld_args_build_id, ld_args_bsymbolic, ld_args_gc_sections, libvulkan_radeon_ld_args,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue