Skip to content

Commit

Permalink
Fix Android Libretro build issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Swordfish90 committed Aug 3, 2020
1 parent af4822d commit 9f7839c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions libretro/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ SOURCES_CXX += $(NATIVEDIR)/math/dataconv.cpp \
$(COREDIR)/Util/PPGeDraw.cpp \
$(COREDIR)/Util/AudioFormat.cpp \
$(COREDIR)/Util/PortManager.cpp \
$(EXTDIR)/disarm.cpp \
$(CORE_DIR)/UI/TextureUtil.cpp \
$(CORE_DIR)/UI/GameInfoCache.cpp

Expand All @@ -509,6 +508,7 @@ ifeq ($(WITH_DYNAREC),1)
$(COREDIR)/MIPS/ARM/ArmJit.cpp \
$(COREDIR)/MIPS/ARM/ArmRegCache.cpp \
$(COREDIR)/MIPS/ARM/ArmRegCacheFPU.cpp \
$(EXTDIR)/disarm.cpp \
$(GPUCOMMONDIR)/VertexDecoderArm.cpp

ifeq ($(HAVE_NEON),1)
Expand Down Expand Up @@ -545,6 +545,7 @@ ifeq ($(WITH_DYNAREC),1)
SOURCES_CXX += \
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEON.cpp \
$(COREDIR)/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \
$(COREDIR)/Util/AudioFormatNEON.cpp \
$(COMMONDIR)/ColorConvNEON.cpp \
$(GPUDIR)/Common/TextureDecoderNEON.cpp

Expand Down Expand Up @@ -591,11 +592,6 @@ endif
SOURCES_C += $(NATIVEDIR)/math/fast/fast_matrix_sse.c
endif
endif
SOURCES_CXX += \
$(COMMONDIR)/ArmEmitter.cpp \
$(COMMONDIR)/Arm64Emitter.cpp \
$(COREDIR)/Util/DisArm64.cpp

#UDIS86
# Compiled and linked even on ARM for now

Expand Down
1 change: 1 addition & 0 deletions libretro/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ COREFLAGS :=
CORE_DIR := ../..
FFMPEGDIR := $(CORE_DIR)/ffmpeg
FFMPEGLIBS += libavformat libavcodec libavutil libswresample libswscale
WITH_DYNAREC := 1

ifeq ($(TARGET_ARCH),arm64)
COREFLAGS += -DARM64 -D_ARCH_64
Expand Down

0 comments on commit 9f7839c

Please sign in to comment.