Mesa (main): radv: Use c_msvc_compat_args.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 23 20:47:57 UTC 2021


Module: Mesa
Branch: main
Commit: c6bcafcc07001f549a501351ef3d0a725a26857e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6bcafcc07001f549a501351ef3d0a725a26857e

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Fri Jun 25 17:39:10 2021 +0200

radv: Use c_msvc_compat_args.

Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11610>

---

 src/amd/vulkan/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index f3c4363d794..3bd5e0b812e 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -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,
   ],



More information about the mesa-commit mailing list