mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-04-06 10:51:30 +02:00
libretro make fix for non-arm architectures
This commit is contained in:
@@ -42,7 +42,7 @@ STATIC_LINKING:= 0
|
||||
TARGET_NAME := picodrive
|
||||
LIBM := -lm
|
||||
GIT_VERSION ?= $(shell git rev-parse --short HEAD || echo unknown)
|
||||
ifneq ($(GIT_VERSION)," unknown")
|
||||
ifneq ($(GIT_VERSION),"unknown")
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
@@ -756,6 +756,9 @@ endif
|
||||
SHARED ?= -shared
|
||||
LDFLAGS += $(SHARED) $(fpic)
|
||||
|
||||
ifneq ($(ARCH), arm)
|
||||
ARCH = $(shell $(CC) -dumpmachine | awk -F '-' '{print $$1}')
|
||||
endif
|
||||
PLATFORM = libretro
|
||||
NO_CONFIG_MAK = yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user