diff options
| author | ruki <[email protected]> | 2017-03-30 11:21:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-30 11:21:46 +0800 |
| commit | 5d79b9e7497b1783b1e0ecf90cd2cd0e13af878c (patch) | |
| tree | 75d33fd431bee88eff551b03d43ad2129d4ebfbb /core/src/luajit/xmake.lua | |
| parent | bd9e9505a78602000c2625dc483cc53a2e69f10f (diff) | |
add luajit xmake.lua
Diffstat (limited to 'core/src/luajit/xmake.lua')
| -rw-r--r-- | core/src/luajit/xmake.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua index 3a1a0e4fd..fcdcf9b31 100644 --- a/core/src/luajit/xmake.lua +++ b/core/src/luajit/xmake.lua @@ -11,8 +11,11 @@ target("luajit") set_objectdir("$(buildir)/.objs") -- add include directories - add_includedirs("src") + add_includedirs("src", "src/autogen/$(plat)/$(arch)") -- add the common source files - add_files("src/**.c") + add_files("src/*.c|ljamalg.c|luajit.c") + add_files("src/autogen/$(plat)/$(arch)/*.s") + -- disable jit compiler? +-- add_defines("LUAJIT_DISABLE_JIT") |
