Merge "Build software AGL library with correct get_tls() macro for ARMv7 based platforms"
This commit is contained in:
commit
b0eed511a2
@ -37,6 +37,10 @@ ifeq ($(TARGET_ARCH),arm)
|
|||||||
LOCAL_CFLAGS += -fstrict-aliasing
|
LOCAL_CFLAGS += -fstrict-aliasing
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||||
|
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(TARGET_SIMULATOR),true)
|
ifneq ($(TARGET_SIMULATOR),true)
|
||||||
# we need to access the private Bionic header <bionic_tls.h>
|
# we need to access the private Bionic header <bionic_tls.h>
|
||||||
LOCAL_C_INCLUDES += bionic/libc/private
|
LOCAL_C_INCLUDES += bionic/libc/private
|
||||||
|
Loading…
Reference in New Issue
Block a user