Build software AGL library with correct get_tls() macro for ARMv7 based platforms

This prevents crashes on snapdragon processors.
This commit is contained in:
Magnus Landqvist
2010-02-19 12:06:59 +01:00
committed by Johan Redestig
parent 27f3de6bac
commit f123ec8f7d

View File

@@ -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