notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c95d9
)
libretro make fix for non-arm architectures
author
kub
<derkub@gmail.com>
Thu, 2 Jul 2020 14:14:16 +0000
(16:14 +0200)
committer
kub
<derkub@gmail.com>
Thu, 2 Jul 2020 14:14:16 +0000
(16:14 +0200)
Makefile.libretro
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
51da982
..
179223e
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-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