Commit 6246bc51 authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

Fix Android compilation

parent ec8a565a
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment