summaryrefslogtreecommitdiff
path: root/Android.common.mk
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-01 12:31:29 +0100
commitea4c1afd050fbfab4bd4d3d79cf7784e0fd0825f (patch)
treee380fe242bad7bda76a38de9ca5f269e6b550eb0 /Android.common.mk
parent5649d6ab06a3d9a4183272a140f767fa0ed4127e (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>
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 610b213f30..4f02fc7371 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -54,6 +54,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