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>main
parent
ba808253bc
commit
1e3fcc495b
|
@ -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)
|
||||
|
|
|
@ -26,6 +26,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
|
|
@ -2,6 +2,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
|
|
@ -3,6 +3,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
$(VALGRIND_CFLAGS) \
|
||||
|
|
|
@ -26,6 +26,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
$(PCIACCESS_CFLAGS) \
|
||||
|
|
|
@ -2,6 +2,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
|
|
@ -26,6 +26,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
|
|
@ -4,7 +4,8 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_CFLAGS = \
|
||||
@PTHREADSTUBS_CFLAGS@ \
|
||||
$(WARN_CFLAGS)
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden
|
||||
|
||||
libdrm_tegra_ladir = $(libdir)
|
||||
libdrm_tegra_la_LTLIBRARIES = libdrm_tegra.la
|
||||
|
|
|
@ -32,6 +32,7 @@ endif
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I $(top_srcdir)/include/drm \
|
||||
-I $(top_srcdir)
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
AM_CFLAGS = \
|
||||
-fvisibility=hidden \
|
||||
-I $(top_srcdir)/include/drm \
|
||||
-I $(top_srcdir)/amdgpu \
|
||||
-I $(top_srcdir) \
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
AM_CFLAGS = \
|
||||
-fvisibility=hidden \
|
||||
-I $(top_srcdir)/include/drm \
|
||||
-I $(top_srcdir)/etnaviv \
|
||||
-I $(top_srcdir)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
AM_CFLAGS = \
|
||||
-pthread \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I $(top_srcdir)/include/drm \
|
||||
-I $(top_srcdir)/libkms/ \
|
||||
-I $(top_srcdir)/exynos \
|
||||
|
|
|
@ -4,7 +4,8 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)
|
||||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden
|
||||
|
||||
noinst_LTLIBRARIES = libkms-test.la
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/libkms/ \
|
||||
-I$(top_srcdir)/tests/ \
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/tests \
|
||||
-I$(top_srcdir)
|
||||
|
|
|
@ -3,6 +3,7 @@ include Makefile.sources
|
|||
AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
|
||||
|
||||
AM_CFLAGS += \
|
||||
-fvisibility=hidden \
|
||||
-pthread \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/tests \
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
AM_CFLAGS = \
|
||||
-pthread \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/nouveau \
|
||||
-I$(top_srcdir)
|
||||
|
|
|
@ -2,6 +2,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/tests \
|
||||
-I$(top_srcdir)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I $(top_srcdir)/include/drm \
|
||||
-I $(top_srcdir)
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/tegra \
|
||||
-I$(top_srcdir)
|
||||
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden
|
||||
|
||||
LDADD = \
|
||||
../../tegra/libdrm_tegra.la \
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS)\
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)/tests \
|
||||
-I$(top_srcdir)
|
||||
|
|
|
@ -23,6 +23,7 @@ include Makefile.sources
|
|||
|
||||
AM_CFLAGS = \
|
||||
$(WARN_CFLAGS) \
|
||||
-fvisibility=hidden \
|
||||
-I$(top_srcdir) \
|
||||
$(PTHREADSTUBS_CFLAGS) \
|
||||
$(VALGRIND_CFLAGS) \
|
||||
|
|
Loading…
Reference in New Issue