From 7ed32c9af948b5f724c88cefe5bb83e195c56f6a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 8 Feb 2014 03:56:38 +0000 Subject: [PATCH] omx: use VISIBILITY_CFLAGS to control exported symbols MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Initial step of cleaning the exported symbols from targets/omx - Mark omx_component_library_Setup as public v2: Keep export-symbols-regex Signed-off-by: Emil Velikov Reviewed-by: Christian König (v1) --- src/gallium/state_trackers/omx/Makefile.am | 1 + src/gallium/state_trackers/omx/entrypoint.h | 2 +- src/gallium/targets/r600/omx/Makefile.am | 1 + src/gallium/targets/radeonsi/omx/Makefile.am | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/omx/Makefile.am b/src/gallium/state_trackers/omx/Makefile.am index 1983248749a..7972d798d6b 100644 --- a/src/gallium/state_trackers/omx/Makefile.am +++ b/src/gallium/state_trackers/omx/Makefile.am @@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ $(GALLIUM_CFLAGS) \ + $(VISIBILITY_CFLAGS) \ $(OMX_CFLAGS) noinst_LTLIBRARIES = libomxtracker.la diff --git a/src/gallium/state_trackers/omx/entrypoint.h b/src/gallium/state_trackers/omx/entrypoint.h index af7c33763c2..7625d7a5b03 100644 --- a/src/gallium/state_trackers/omx/entrypoint.h +++ b/src/gallium/state_trackers/omx/entrypoint.h @@ -38,7 +38,7 @@ #include "vl/vl_winsys.h" -extern int omx_component_library_Setup(stLoaderComponentType **stComponents); +PUBLIC extern int omx_component_library_Setup(stLoaderComponentType **stComponents); struct vl_screen *omx_get_screen(void); void omx_put_screen(void); diff --git a/src/gallium/targets/r600/omx/Makefile.am b/src/gallium/targets/r600/omx/Makefile.am index 7660a8d2740..3aef9e19bba 100644 --- a/src/gallium/targets/r600/omx/Makefile.am +++ b/src/gallium/targets/r600/omx/Makefile.am @@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ $(GALLIUM_CFLAGS) \ + $(VISIBILITY_CFLAGS) \ $(PTHREAD_CFLAGS) \ $(LIBDRM_CFLAGS) AM_CPPFLAGS = \ diff --git a/src/gallium/targets/radeonsi/omx/Makefile.am b/src/gallium/targets/radeonsi/omx/Makefile.am index a502c659587..0d479122e28 100644 --- a/src/gallium/targets/radeonsi/omx/Makefile.am +++ b/src/gallium/targets/radeonsi/omx/Makefile.am @@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ $(GALLIUM_CFLAGS) \ + $(VISIBILITY_CFLAGS) \ $(PTHREAD_CFLAGS) \ $(LIBDRM_CFLAGS) AM_CPPFLAGS = \ -- 2.30.2