summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Herrmann <[email protected]>2019-04-12 12:51:36 +0200
committerManuel Herrmann <[email protected]>2019-04-12 12:51:36 +0200
commite34797ed62a4f5f7bab841a0982b3138300d637c (patch)
treed84885c4cb11ac878ede2b1567b957504ae0a5fc
parent4572f4895e11712ba620097cb504195abc060df2 (diff)
rename ARCH amd64 to x86_64: allows luajit to compile
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index 743636566..c651c3d18 100644
--- a/makefile
+++ b/makefile
@@ -39,6 +39,9 @@ endif
endif
+# map architecture amd64 to x86_64
+ARCH :=$(if $(findstring amd64,$(ARCH)),x86_64,$(ARCH))
+
xmake_dir_install :=$(prefix)/share/xmake
xmake_core :=./core/src/demo/demo.b
xmake_core_install :=$(xmake_dir_install)/xmake