diff options
author | Magnus Landqvist <magnus.landqvist@sonyericsson.com> | 2010-02-19 12:06:59 +0100 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonyericsson.com> | 2010-02-19 12:06:59 +0100 |
commit | f123ec8f7d449b2e079ea8d5d7e431ff83235f56 (patch) | |
tree | 4bc056c929ebef7f6c36cb98fb0a0eada6edd8ec /opengl/libagl | |
parent | 27f3de6bac93140452ce131cbbd8c6df33e25a94 (diff) | |
download | frameworks_base-f123ec8f7d449b2e079ea8d5d7e431ff83235f56.zip frameworks_base-f123ec8f7d449b2e079ea8d5d7e431ff83235f56.tar.gz frameworks_base-f123ec8f7d449b2e079ea8d5d7e431ff83235f56.tar.bz2 |
Build software AGL library with correct get_tls() macro for ARMv7 based platforms
This prevents crashes on snapdragon processors.
Diffstat (limited to 'opengl/libagl')
-rw-r--r-- | opengl/libagl/Android.mk | 4 |
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 |