diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-10 09:56:30 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-10 09:57:24 -0300 |
commit | 4c92a0baca78f63f921ae272bc4f970f67edb189 (patch) | |
tree | 65e510f4f128992c376b556972f3129c3a3d1eca | |
parent | b0044fa5c323d6a0cb43741dfc0bf55ced172404 (diff) | |
download | rneovim-4c92a0baca78f63f921ae272bc4f970f67edb189.tar.gz rneovim-4c92a0baca78f63f921ae272bc4f970f67edb189.tar.bz2 rneovim-4c92a0baca78f63f921ae272bc4f970f67edb189.zip |
deps: Add Luajit compilation flags to improve debugging
-rw-r--r-- | test/functional/helpers.lua | 5 | ||||
-rw-r--r-- | third-party/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index e63c79ec80..ea98ff4ce3 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -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') diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index 19fc348c04..6b9cf565b2 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -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) |