diff options
| author | ruki <[email protected]> | 2020-09-16 23:48:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-16 23:48:17 +0800 |
| commit | 8290d48edda4098d0e76eb54e0c12e24218c53c0 (patch) | |
| tree | 6d714540b0fc186c27fa9d6b2f5b6d2ee8da5a08 /core/src/luajit/makefile | |
| parent | 2458b7dfefdcbe7c39b4590467e3cf6c96f8ef00 (diff) | |
improve core/makefile for ARCH
Diffstat (limited to 'core/src/luajit/makefile')
| -rw-r--r-- | core/src/luajit/makefile | 8 |
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 |
