summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuZhen <wuzhen@jidemail.com>2016-04-28 15:34:58 +0800
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-05 11:47:53 +0100
commitcfbdeaf2a0d8c88b929d77412525cd2376133d72 (patch)
tree0437defc6278055ca09ab39f154ff408842e9cb3
parentb76fe1fa52a5227874d8b7d982e15d0b4ae2421c (diff)
android: enable dlopen() on all architectures
Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org> Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit ea4c1afd050fbfab4bd4d3d79cf7784e0fd0825f)
-rw-r--r--Android.common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 34134455737..3ef70a907f8 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -58,6 +58,7 @@ LOCAL_CFLAGS += \
-DHAVE___BUILTIN_CLZLL \
-DHAVE___BUILTIN_UNREACHABLE \
-DHAVE_PTHREAD=1 \
+ -DHAVE_DLOPEN \
-fvisibility=hidden \
-Wno-sign-compare
@@ -65,7 +66,6 @@ ifeq ($(strip $(MESA_ENABLE_ASM)),true)
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS += \
-DUSE_X86_ASM \
- -DHAVE_DLOPEN \
endif
endif