diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/meson.build | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/meson.build b/common/meson.build index c431fe9..28427f6 100644 --- a/common/meson.build +++ b/common/meson.build @@ -38,11 +38,7 @@ libdconf_common_shared = static_library( pic: true ) -test_cflag = '-fvisibility=hidden' - -if cc.has_argument(test_cflag) - cflags += [test_cflag] -endif +cflags += cc.get_supported_arguments('-fvisibility=hidden') libdconf_common_hidden = static_library( name + '-hidden', |