mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
build: luajit: do not disable jit (#10318)
This was added in 4c92a0bac
to help with debugging, but could also have been
just moved there instead of disabling it manually (which was done due to
issues on Travis with OSX).
Since the JIT is the main feature of luajit, we should not disable it,
especially not during compile time.
This commit is contained in:
parent
f96a2dabac
commit
c4739345fe
2
third-party/cmake/BuildLuajit.cmake
vendored
2
third-party/cmake/BuildLuajit.cmake
vendored
@ -41,7 +41,6 @@ else()
|
||||
set(AMD64_ABI "")
|
||||
endif()
|
||||
set(INSTALLCMD_UNIX ${MAKE_PRG} CFLAGS=-fPIC
|
||||
CFLAGS+=-DLUAJIT_DISABLE_JIT
|
||||
CFLAGS+=-DLUA_USE_APICHECK
|
||||
CFLAGS+=-DLUA_USE_ASSERT
|
||||
${AMD64_ABI}
|
||||
@ -94,7 +93,6 @@ elseif(MINGW)
|
||||
endif()
|
||||
BuildLuaJit(BUILD_COMMAND ${LUAJIT_MAKE_PRG} CC=${DEPS_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
CFLAGS+=-DLUAJIT_DISABLE_JIT
|
||||
CFLAGS+=-DLUA_USE_APICHECK
|
||||
CFLAGS+=-DLUA_USE_ASSERT
|
||||
CCDEBUG+=-g
|
||||
|
Loading…
Reference in New Issue
Block a user