summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-02-13 17:30:54 -0800
committerElliott Hughes <enh@google.com>2013-02-13 17:30:54 -0800
commit288870ebc3da8121b7a237a53280bd8b931b7a2f (patch)
treeb5c73c8ed31a810b18e62da2e33f2948b09867f5 /opengl/libagl/Android.mk
parent873ab60e94811488caea1906eb98133329a3e28f (diff)
downloadframeworks_native-288870ebc3da8121b7a237a53280bd8b931b7a2f.zip
frameworks_native-288870ebc3da8121b7a237a53280bd8b931b7a2f.tar.gz
frameworks_native-288870ebc3da8121b7a237a53280bd8b931b7a2f.tar.bz2
Simplify OpenGL TLS access on ARM.
bionic now assumes the TLS register is available, so OpenGL can too. Change-Id: If2b56a4c08de9f887759b78f70022026a181dc47
Diffstat (limited to 'opengl/libagl/Android.mk')
-rw-r--r--opengl/libagl/Android.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/opengl/libagl/Android.mk b/opengl/libagl/Android.mk
index 639c4d7..1b3d6ed 100644
--- a/opengl/libagl/Android.mk
+++ b/opengl/libagl/Android.mk
@@ -34,16 +34,7 @@ ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -fstrict-aliasing
endif
-ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
- LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
-endif
-
# we need to access the private Bionic header <bionic_tls.h>
-# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
-# behavior from the bionic Android.mk file
-ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
- LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
-endif
LOCAL_C_INCLUDES += bionic/libc/private
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl