diff options
author | Mike Pall <mike> | 2012-06-12 03:50:22 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-12 03:50:22 +0200 |
commit | 0528bb7d028b0b9c8a1e988e40d31385cab4f2e8 (patch) | |
tree | 31b5bc6d6a9d2f3a9be3af12c779fc144cc257c1 /src/Makefile | |
parent | e08914988c30b12b6900a5bcedda129c7d8e4c71 (diff) | |
download | luajit2-0528bb7d028b0b9c8a1e988e40d31385cab4f2e8.tar.gz |
x64: Fix DynASM defines.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 991a02f0..58dcdc01 100644 --- a/src/Makefile +++ b/src/Makefile @@ -362,6 +362,9 @@ DASM_XFLAGS= DASM_AFLAGS= DASM_ARCH= $(TARGET_LJARCH) +ifneq (,$(findstring LJ_ARCH_BITS 64,$(TARGET_TESTARCH))) + DASM_AFLAGS+= -D P64 +endif ifneq (,$(findstring LJ_HASJIT 1,$(TARGET_TESTARCH))) DASM_AFLAGS+= -D JIT endif @@ -387,7 +390,6 @@ ifeq (x86,$(TARGET_LJARCH)) endif else ifeq (x64,$(TARGET_LJARCH)) - DASM_AFLAGS+= -D X64 DASM_ARCH= x86 else ifeq (arm,$(TARGET_LJARCH)) |