summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorMathias Agopian <pixelflinger@google.com>2010-05-10 20:28:02 -0700
committerAndroid Code Review <code-review@android.com>2010-05-10 20:28:02 -0700
commitb0eed511a25848de05cd4bc167e5a68fe107bb90 (patch)
treea0475ae9547094b61667e82e974670748b6a5603 /opengl
parent32a220aa6ef0ea78d50e42a63622869e069f9851 (diff)
parentd08583b05c47e676a5e9a9f4ae58594d75141e62 (diff)
downloadframeworks_native-b0eed511a25848de05cd4bc167e5a68fe107bb90.zip
frameworks_native-b0eed511a25848de05cd4bc167e5a68fe107bb90.tar.gz
frameworks_native-b0eed511a25848de05cd4bc167e5a68fe107bb90.tar.bz2
Merge "Build software AGL library with correct get_tls() macro for ARMv7 based platforms"
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libagl/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/opengl/libagl/Android.mk b/opengl/libagl/Android.mk
index 9837845..518be8b 100644
--- a/opengl/libagl/Android.mk
+++ b/opengl/libagl/Android.mk
@@ -37,6 +37,10 @@ ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -fstrict-aliasing
endif
+ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
+ LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
+endif
+
ifneq ($(TARGET_SIMULATOR),true)
# we need to access the private Bionic header <bionic_tls.h>
LOCAL_C_INCLUDES += bionic/libc/private