summaryrefslogtreecommitdiff
path: root/lib/libdrm/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/Makefile.am')
-rw-r--r--lib/libdrm/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdrm/Makefile.am b/lib/libdrm/Makefile.am
index faf0f7507..730de1f2d 100644
--- a/lib/libdrm/Makefile.am
+++ b/lib/libdrm/Makefile.am
@@ -121,6 +121,7 @@ libdrm_la_LIBADD = @CLOCK_LIB@ -lm
libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
AM_CFLAGS = \
$(WARN_CFLAGS) \
+ -fvisibility=hidden \
$(VALGRIND_CFLAGS)
libdrm_la_SOURCES = $(LIBDRM_FILES)