From 1e3fcc495b250516db5ebe66cf33b58c1477508b Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 13 Sep 2018 16:24:32 -0700 Subject: 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 Acked-by: Eric Engestrom --- amdgpu/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'amdgpu') 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 -- cgit v1.2.3