diff options
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index 5884ac05647..1990e0c4e8f 100644 --- a/src/intel/vulkan/meson.build +++ b/src/intel/vulkan/meson.build @@ -89,9 +89,10 @@ foreach g : [['70', ['gen7_cmd_buffer.c']], ['75', ['gen7_cmd_buffer.c']], inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_compiler, inc_intel, inc_vulkan_wsi, ], c_args : [ - c_vis_args, no_override_init_args, c_sse2_args, + no_override_init_args, c_sse2_args, '-DGEN_VERSIONx10=@0@'.format(_gen), ], + gnu_symbol_visibility : 'hidden', dependencies : [ dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml, idep_vulkan_util_headers, ], @@ -136,7 +137,6 @@ anv_deps = [ idep_xmlconfig_headers, ] anv_flags = [ - c_vis_args, no_override_init_args, c_sse2_args, ] @@ -184,6 +184,7 @@ libanv_common = static_library( inc_vulkan_wsi, inc_util, ], c_args : anv_flags, + gnu_symbol_visibility : 'hidden', dependencies : anv_deps, ) @@ -203,6 +204,7 @@ libvulkan_intel = shared_library( idep_nir, idep_genxml, idep_vulkan_util, idep_mesautil, idep_xmlconfig, ], c_args : anv_flags, + gnu_symbol_visibility : 'hidden', link_args : ['-Wl,--build-id=sha1', ld_args_bsymbolic, ld_args_gc_sections], install : true, ) @@ -237,6 +239,7 @@ if with_tests idep_nir, idep_vulkan_util, idep_mesautil, ], c_args : anv_flags, + gnu_symbol_visibility : 'hidden', ) foreach t : ['block_pool_no_free', 'block_pool_grow_first', |