mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
deps: Add Luajit compilation flags to improve debugging
This commit is contained in:
parent
b0044fa5c3
commit
4c92a0baca
@ -1,8 +1,3 @@
|
||||
if jit then
|
||||
-- Disable JIT because of random errors on Travis with OS X.
|
||||
jit.off(true, true)
|
||||
end
|
||||
|
||||
require('coxpcall')
|
||||
local Loop = require('nvim.loop')
|
||||
local MsgpackStream = require('nvim.msgpack_stream')
|
||||
|
4
third-party/CMakeLists.txt
vendored
4
third-party/CMakeLists.txt
vendored
@ -202,6 +202,10 @@ if(USE_BUNDLED_LUAJIT)
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${DEPS_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
CFLAGS=-fPIC
|
||||
CFLAGS+=-DLUAJIT_DISABLE_JIT
|
||||
CFLAGS+=-DLUA_USE_APICHECK
|
||||
CFLAGS+=-DLUA_USE_ASSERT
|
||||
CCDEBUG+=-g
|
||||
BUILDMODE=static
|
||||
install)
|
||||
list(APPEND THIRD_PARTY_DEPS luajit)
|
||||
|
Loading…
Reference in New Issue
Block a user