Fix Android compilation

This commit is contained in:
Vladimir Serbinenko 2020-03-19 01:44:53 +01:00
parent ec8a565ac6
commit 6246bc5136
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@ SOURCES_CXX := $(wildcard \
$(CORE_DIR)/src/love/Types/Graphics/*.cpp \
$(CORE_DIR)/src/love/Types/Input/*.cpp \
)
SOURCES_C =
SOURCES_S =
FLAGS += -Wfatal-errors
# random
@ -42,7 +44,7 @@ ifneq ($(STATIC_LINKING), 1)
$(CORE_DIR)/vendor/libretro-common/vfs/vfs_implementation.c \
)
# Ensure the sinc_resampler_neon is available for ARM NEON devices.
SOURCES_S += $(CORE_DIR)/vendor/libretro-common/audio/resampler/drivers/sinc_resampler_neon.o
SOURCES_S += $(CORE_DIR)/vendor/libretro-common/audio/resampler/drivers/sinc_resampler_neon.S
# MD5
FLAGS += -I$(CORE_DIR)/vendor/libretro-common/include

View File

@ -13,7 +13,7 @@ endif
include $(CLEAR_VARS)
LOCAL_MODULE := retro
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C)
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C) $(SOURCES_S)
LOCAL_CXXFLAGS := $(COREFLAGS) -std=c++14
LOCAL_CFLAGS := $(COREFLAGS)
LOCAL_LDFLAGS := -Wl,-version-script=$(CORE_DIR)/link.T