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

Commit 7a66f7af authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am 913a17fd: Merge "libagl: support multilib build"

* commit '913a17fd':
  libagl: support multilib build
parents 8a9a2e24 913a17fd
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -29,17 +29,13 @@ LOCAL_CFLAGS += -fvisibility=hidden
LOCAL_SHARED_LIBRARIES := libcutils libhardware libutils liblog libpixelflinger libETC1 libui
LOCAL_LDLIBS := -lpthread -ldl

ifeq ($(TARGET_ARCH),arm)
	LOCAL_SRC_FILES += fixed_asm.S iterators.S
	LOCAL_CFLAGS += -fstrict-aliasing
endif

ifeq ($(TARGET_ARCH),mips)
    LOCAL_SRC_FILES += arch-$(TARGET_ARCH)/fixed_asm.S
    LOCAL_CFLAGS += -fstrict-aliasing
LOCAL_SRC_FILES_arm += fixed_asm.S iterators.S
LOCAL_CFLAGS_arm += -fstrict-aliasing

LOCAL_SRC_FILES_mips += arch-mips/fixed_asm.S
LOCAL_CFLAGS_mips += -fstrict-aliasing
# The graphics code can generate division by zero
    LOCAL_CFLAGS += -mno-check-zero-division
endif
LOCAL_CFLAGS_mips += -mno-check-zero-division

# we need to access the private Bionic header <bionic_tls.h>
LOCAL_C_INCLUDES += bionic/libc/private