summaryrefslogtreecommitdiff
path: root/exynos
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 /exynos
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 'exynos')
-rw-r--r--exynos/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/exynos/meson.build b/exynos/meson.build
index bd55a500..862d2b7b 100644
--- a/exynos/meson.build
+++ b/exynos/meson.build
@@ -22,6 +22,7 @@ libdrm_exynos = library(
'drm_exynos',
[files('exynos_drm.c', 'exynos_fimg2d.c'), config_file],
c_args : libdrm_c_args,
+ gnu_symbol_visibility : 'hidden',
include_directories : [inc_root, inc_drm],
link_with : libdrm,
dependencies : [dep_pthread_stubs],