aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding2014-02-19 08:56:50 -0600
committerThierry Reding2014-07-30 09:58:14 -0500
commit5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e (patch)
tree5986dd94ff3b108a5aa9fd7fdb51f9656200ed7e /Makefile.am
parentd6861609b2b887612d652bb2be7c39f199802937 (diff)
downloadexternal-libdrm-5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e.tar.gz
external-libdrm-5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e.tar.xz
external-libdrm-5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e.zip
configure: Support symbol visibility when available
Checks whether or not the compiler supports the -fvisibility option. If so it sets the VISIBILITY_CFLAGS variable which can be added to the per directory AM_CFLAGS where appropriate. By default all symbols will be hidden via the VISIBILITY_CFLAGS. The drm_public macro can be used to mark symbols that should be exported. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 826c30d0..65680da9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,6 +69,7 @@ libdrm_la_SOURCES = \
69 xf86drmSL.c \ 69 xf86drmSL.c \
70 xf86drmMode.c \ 70 xf86drmMode.c \
71 xf86atomic.h \ 71 xf86atomic.h \
72 libdrm.h \
72 libdrm_lists.h 73 libdrm_lists.h
73 74
74libdrmincludedir = ${includedir} 75libdrmincludedir = ${includedir}