mirror of
https://github.com/love2d/love-android.git
synced 2026-08-15 15:51:20 +02:00
Merged in AuahDark/love-android-sdl2/love11-arm64 (pull request #15)
Add ARM64 ABI support
This commit is contained in:
Binary file not shown.
@@ -11,6 +11,14 @@ LOCAL_CFLAGS := -fexceptions -g -Dlinux -Dunix \
|
||||
|
||||
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
|
||||
|
||||
# I don't think there's armeabi-v7a device without NEON instructions in 2018
|
||||
LOCAL_ARM_NEON := true
|
||||
|
||||
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||
# ARM64 does have socklen_t
|
||||
LOCAL_CFLAGS += -DHAS_SOCKLEN_T=1
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
${LOCAL_PATH}/src \
|
||||
${LOCAL_PATH}/src/modules \
|
||||
|
||||
@@ -8,6 +8,11 @@ LOCAL_CFLAGS := -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_GNU_SOURCE=1 -D_P
|
||||
|
||||
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
|
||||
|
||||
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||
# ARM64 have log2f function
|
||||
LOCAL_CFLAGS += -DHAVE_LOG2F
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
${LOCAL_PATH}/include \
|
||||
${LOCAL_PATH}/common \
|
||||
|
||||
Reference in New Issue
Block a user