android: set the HAVE_VISIBILITY define
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]>
Signed-off-by Emil Velikov <[email protected]>
--- Android.mk | 1 + 1 file changed, 1 insertion(+)
Android.mk +1 -0
@@ -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