summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-04-01 16:54:26 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-29 17:29:37 +0000
commit9dd2e8e552a5c290bc52190e074db1b3843faaf8 (patch)
tree9af97d0ee8121efc1e2751313ceed9f5943af192 /Android.mk
parentb091ecdbf93fca76521868863fb1f20e0bfe7268 (diff)
downloadlibdrm-9dd2e8e552a5c290bc52190e074db1b3843faaf8.tar.gz
libdrm-9dd2e8e552a5c290bc52190e074db1b3843faaf8.tar.bz2
libdrm-9dd2e8e552a5c290bc52190e074db1b3843faaf8.zip
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 <cwhuang@linux.org.tw> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
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)