diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build index d8c17e6df8d..b1f94d293f1 100644 --- a/src/freedreno/vulkan/meson.build +++ b/src/freedreno/vulkan/meson.build @@ -178,6 +178,10 @@ tu_cpp_args += cpp.get_supported_arguments([ '-Wno-write-strings', ]) +if cpp.get_id() == 'gcc' + tu_cpp_args += cpp.get_supported_arguments(['-Wno-misleading-indentation']) +endif + libvulkan_freedreno = shared_library( 'vulkan_freedreno', [libtu_files, tu_entrypoints, tu_tracepoints, freedreno_xml_header_files, sha1_h, u_format_pack_h, bvh_spv],