summaryrefslogtreecommitdiff
path: root/Android.common.mk
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-09-19 23:05:48 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2018-10-04 14:42:54 +0100
commitf6b4737e2fa009020e4c2062ba50eb35ab9d15ac (patch)
tree7cf04cbc107dcad807523e84245367a0715690ef /Android.common.mk
parent99c3540dd4a066d0295a9a1aa8d4a49d85ab5178 (diff)
downloadlibdrm-f6b4737e2fa009020e4c2062ba50eb35ab9d15ac.tar.gz
libdrm-f6b4737e2fa009020e4c2062ba50eb35ab9d15ac.tar.bz2
libdrm-f6b4737e2fa009020e4c2062ba50eb35ab9d15ac.zip
android: make symbols hidden by default
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index e3de1069..d0e5d559 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -2,6 +2,7 @@
LOCAL_CFLAGS += \
-DMAJOR_IN_SYSMACROS=1 \
-DHAVE_VISIBILITY=1 \
+ -fvisibility=hidden \
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
LOCAL_CFLAGS += \