mirror of
https://github.com/libretro/libretro-chailove.git
synced 2024-11-23 08:00:08 +00:00
Fix Android compilation
This commit is contained in:
parent
ec8a565ac6
commit
6246bc5136
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user