Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0eed511 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Code Review
Browse files

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

parents 32a220aa d08583b0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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