mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
libretro make fix for non-arm architectures
This commit is contained in:
parent
18c95d9f57
commit
b29bf88c22
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,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
|
||||
|
||||
|
@ -463,6 +463,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue