Skip to content

Commit 06d0e59

Browse files
Mathias AgopianAndroid Code Review
authored andcommitted
Merge "Build software AGL library with correct get_tls() macro for ARMv7 based platforms"
2 parents 954cbf5 + f123ec8 commit 06d0e59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opengl/libagl/Android.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ ifeq ($(TARGET_ARCH),arm)
3737
LOCAL_CFLAGS += -fstrict-aliasing
3838
endif
3939

40+
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
41+
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
42+
endif
43+
4044
ifneq ($(TARGET_SIMULATOR),true)
4145
# we need to access the private Bionic header <bionic_tls.h>
4246
LOCAL_C_INCLUDES += bionic/libc/private

0 commit comments

Comments
 (0)