summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv/ccenv.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-18 06:33:00 +0000
committermidipix <writeonce@midipix.org>2024-02-18 07:49:53 +0000
commit66926b2339c41107a457f4535b422a2b88f52fb2 (patch)
tree7ff0e1ae6dce5b964130e63b914447b9d8e8d137 /sofort/ccenv/ccenv.in
parent0ddb228b85d89a32e333848d108c4f6fc85f1f34 (diff)
downloadmmglue-66926b2339c41107a457f4535b422a2b88f52fb2.tar.bz2
mmglue-66926b2339c41107a457f4535b422a2b88f52fb2.tar.xz
build system: ccenv: detect compiler support of visibility attributes.
Diffstat (limited to 'sofort/ccenv/ccenv.in')
-rw-r--r--sofort/ccenv/ccenv.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.in b/sofort/ccenv/ccenv.in
index 441f8ab..0daff84 100644
--- a/sofort/ccenv/ccenv.in
+++ b/sofort/ccenv/ccenv.in
@@ -84,8 +84,13 @@ PKGCONF = @ccenv_pkgconf@
AS = @ccenv_as@
LD = @ccenv_ld@
+# @ccenv_cfgtype@ visibility attributes
+CFLAGS_ATTR_VISIBILITY_DEFAULT = -D_ATTR_VISIBILITY_DEFAULT=@ccenv_attr_visibility_default@
+CFLAGS_ATTR_VISIBILITY_HIDDEN = -D_ATTR_VISIBILITY_HIDDEN=@ccenv_attr_visibility_hidden@
+CFLAGS_ATTR_VISIBILITY_INTERNAL = -D_ATTR_VISIBILITY_INTERNAL=@ccenv_attr_visibility_internal@
+CFLAGS_ATTR_VISIBILITY_PROTECTED = -D_ATTR_VISIBILITY_PROTECTED=@ccenv_attr_visibility_protected@
+
# @ccenv_cfgtype@ cflags
CFLAGS_OS += -DOS_LIB_SUFFIX=\"@ccenv_os_lib_suffix@\"
CFLAGS_OS += @ccenv_cflags_os@
CFLAGS_PIC += @ccenv_cflags_pic@
-