From 9dd2e8e552a5c290bc52190e074db1b3843faaf8 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 1 Apr 2015 16:54:26 +0100 Subject: android: set the HAVE_VISIBILITY define ... in order to limit the exported symbols only to the required ones. Both compilers used with Android (GCC and LLVM) support this, so set it unconditionally. Cc: Chih-Wei Huang Signed-off-by: Emil Velikov --- Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.mk b/Android.mk index 7038c3cf..90cdcb32 100644 --- a/Android.mk +++ b/Android.mk @@ -39,6 +39,7 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/include/drm LOCAL_CFLAGS := \ + -DHAVE_VISIBILITY=1 \ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 include $(BUILD_SHARED_LIBRARY) -- cgit v1.2.3