summaryrefslogtreecommitdiff
path: root/amdgpu
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-09-13 16:24:32 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2018-09-19 22:46:45 -0700
commit1e3fcc495b250516db5ebe66cf33b58c1477508b (patch)
tree57348bbb9c80ae9ddb25aa2573f5f4a9e0a9eaa5 /amdgpu
parentba808253bc16b481dbee69323d5a560b103d1091 (diff)
downloadlibdrm-1e3fcc495b250516db5ebe66cf33b58c1477508b.tar.gz
libdrm-1e3fcc495b250516db5ebe66cf33b58c1477508b.tar.bz2
libdrm-1e3fcc495b250516db5ebe66cf33b58c1477508b.zip
autotools: make symbols hidden by default
Now that symbols that should be exported are annotated accordingly, make all the rest hidden by default. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'amdgpu')
-rw-r--r--amdgpu/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/amdgpu/Makefile.am b/amdgpu/Makefile.am
index a1b0d05c..707082f0 100644
--- a/amdgpu/Makefile.am
+++ b/amdgpu/Makefile.am
@@ -26,6 +26,7 @@ include Makefile.sources
AM_CFLAGS = \
$(WARN_CFLAGS) \
+ -fvisibility=hidden \
-I$(top_srcdir) \
$(PTHREADSTUBS_CFLAGS) \
-I$(top_srcdir)/include/drm