Skip to contentSkip to conversation

android: set the HAVE_VISIBILITY define

PATCH New Emil Velikov 1 participant 1 message Apr 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
---
 Android.mk | 1 +
 1 file changed, 1 insertion(+)
Android.mk +1 -0
index 7038c3c..90cdcb3 100644
@@ -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)
Signature · 6 lines
2.3.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel