summaryrefslogtreecommitdiff
path: root/etnaviv
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-01-19 10:42:20 -0800
committerDylan Baker <dylan@pnwbakers.com>2022-01-20 10:07:18 -0800
commit6b0b493555af7ef9374d6b2e7feafd848090d6e7 (patch)
tree23653ec2076dd0aff5b66b2f643766eec764504d /etnaviv
parent847be2651fd02e452b59a7462e9829d87430a3d3 (diff)
meson: switch the meson builtin for symbol visiblity
This allows meson to check if the compiler supports gnu style symbol visibility, and apply the appropriate flags as necessary, rather than us adding them by hand Signed-off-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'etnaviv')
-rw-r--r--etnaviv/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/etnaviv/meson.build b/etnaviv/meson.build
index ffc0a673..7cc89fd2 100644
--- a/etnaviv/meson.build
+++ b/etnaviv/meson.build
@@ -31,6 +31,7 @@ libdrm_etnaviv = library(
include_directories : [inc_root, inc_drm],
link_with : libdrm,
c_args : libdrm_c_args,
+ gnu_symbol_visibility : 'hidden',
dependencies : [dep_pthread_stubs, dep_rt, dep_atomic_ops],
version : '1.0.0',
install : true,