build: Use Meson's gnu_symbol_visibility
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 9 May 2023 12:13:00 +0000 (13:13 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 9 May 2023 15:43:25 +0000 (16:43 +0100)
commit265bc905243d069e953f67abd6366869fc2d8baa
treec999dd6256b054a2757c6b851742077f8e1103da
parent197d921347442d74fa36559d7c1b93bfda4e23de
build: Use Meson's gnu_symbol_visibility

Instead of injecting `-fvisibility=hidden` depending on a compiler check
ourselves, let Meson do it for us.

This also avoids us having to filter `-fvisibility=hidden` when reusing
the common compiler flags.
demos/gtk-demo/meson.build
gtk/meson.build
meson.build
testsuite/a11y/meson.build
testsuite/gtk/meson.build
testsuite/reftests/meson.build