summaryrefslogtreecommitdiff
path: root/core/src/luajit/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-16 23:48:17 +0800
committerruki <[email protected]>2020-09-16 23:48:17 +0800
commit8290d48edda4098d0e76eb54e0c12e24218c53c0 (patch)
tree6d714540b0fc186c27fa9d6b2f5b6d2ee8da5a08 /core/src/luajit/makefile
parent2458b7dfefdcbe7c39b4590467e3cf6c96f8ef00 (diff)
improve core/makefile for ARCH
Diffstat (limited to 'core/src/luajit/makefile')
-rw-r--r--core/src/luajit/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/luajit/makefile b/core/src/luajit/makefile
index 62a485522..94b3b5819 100644
--- a/core/src/luajit/makefile
+++ b/core/src/luajit/makefile
@@ -91,16 +91,16 @@ ifeq ($(PLAT),cygwin)
iswin = yes
endif
-# autogen plat and arch
+# autogen plat and BUILD_ARCH
GENPLAT := $(PLAT)
-GENARCH := $(ARCH)
+GENARCH := $(BUILD_ARCH)
# asm files
ifdef iswin
-ifeq ($(ARCH),x86_64)
+ifeq ($(BUILD_ARCH),x86_64)
GENARCH := x64
endif
-ifeq ($(ARCH),i386)
+ifeq ($(BUILD_ARCH),i386)
GENARCH := x86
endif
GENPLAT := windows