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

This commit is contained in:
Mathias Agopian 2010-05-10 20:28:02 -07:00 committed by Android Code Review
commit b0eed511a2

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