From 3fedaede1c37de2f699747965e685926c46af89f Mon Sep 17 00:00:00 2001 From: gouchi Date: Sat, 24 Mar 2018 22:42:16 +0100 Subject: [PATCH] Libretro: Declare TARGET_ARCH for ARM before the include flags --- libretro/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/Makefile b/libretro/Makefile index fbfb74f230..20ca14784a 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -200,13 +200,13 @@ else ifeq ($(platform), qnx) # ARM else ifneq (,$(findstring armv,$(platform))) TARGET := $(TARGET_NAME)_libretro.so + TARGET_ARCH = armv7 fpic := -fPIC LDFLAGS += -shared -Wl,--version-script=link.T -Wl,--no-undefined FFMPEGINCFLAGS += -I$(FFMPEGDIR)/linux/$(TARGET_ARCH)/include FFMPEGLIBDIR := $(FFMPEGDIR)/linux/$(TARGET_ARCH)/lib FFMPEGLDFLAGS += -L$(FFMPEGLIBDIR) -lavformat -lavcodec -lavutil -lswresample -lswscale INCFLAGS += -I. - TARGET_ARCH = arm ifneq (,$(findstring gles,$(platform))) GLES := 1 GL_LIB := -lGLESv2 -lEGL