add modes for luajit

pull/49/head
ruki 5 years ago
parent 9fc170cf5d
commit 3c863a3d07
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 6
      packages/l/luajit/port/xmake.lua

@ -1,5 +1,11 @@
set_policy("build.across_targets_in_parallel", false) set_policy("build.across_targets_in_parallel", false)
add_rules("mode.debug", "mode.release")
if is_mode("release") then
add_cflags("-fomit-frame-pointer")
add_cflags("-fno-stack-protector")
end
option("nojit") option("nojit")
set_default(false) set_default(false)
set_showmenu(true) set_showmenu(true)

Loading…
Cancel
Save