meson: use gnu_symbol_visibility argument
[mesa.git] / src / amd / compiler / meson.build
index 778cf8ee3ee81dd9961936076ccf04d817c4d033..dbf077b0fdc9636949d24e7dccc0bb84fc206fcd 100644 (file)
@@ -96,8 +96,7 @@ _libaco = static_library(
     dep_llvm, dep_thread, dep_elf, dep_libdrm_amdgpu, dep_valgrind,
     idep_nir_headers, idep_amdgfxregs_h,
   ],
-  c_args : [c_vis_args],
-  cpp_args : [cpp_vis_args],
+  gnu_symbol_visibility : 'hidden',
   build_by_default : true,
 )