summaryrefslogtreecommitdiff
path: root/libs/luajit-cmake/luajit/dynasm/dasm_x64.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-11 15:58:20 -0600
committersanine <sanine.not@pm.me>2023-03-11 15:58:20 -0600
commitebc50b387ab209c9f9a0d92e340ac293d5697274 (patch)
treeea8c8b3677a18c994d2b9d33dbef3461dcf18113 /libs/luajit-cmake/luajit/dynasm/dasm_x64.lua
parentc2329b4c8258baa9429c77566c9def97d00e96d7 (diff)
build & link with luajit instead of lua5.1
Diffstat (limited to 'libs/luajit-cmake/luajit/dynasm/dasm_x64.lua')
-rw-r--r--libs/luajit-cmake/luajit/dynasm/dasm_x64.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/luajit-cmake/luajit/dynasm/dasm_x64.lua b/libs/luajit-cmake/luajit/dynasm/dasm_x64.lua
new file mode 100644
index 0000000..1779c5b
--- /dev/null
+++ b/libs/luajit-cmake/luajit/dynasm/dasm_x64.lua
@@ -0,0 +1,12 @@
+------------------------------------------------------------------------------
+-- DynASM x64 module.
+--
+-- Copyright (C) 2005-2022 Mike Pall. All rights reserved.
+-- See dynasm.lua for full copyright notice.
+------------------------------------------------------------------------------
+-- This module just sets 64 bit mode for the combined x86/x64 module.
+-- All the interesting stuff is there.
+------------------------------------------------------------------------------
+
+x64 = true -- Using a global is an ugly, but effective solution.
+return require("dasm_x86")