mirror of
https://github.com/neovim/neovim.git
synced 2026-05-04 21:15:09 +00: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:
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
|
||||
|
||||
Reference in New Issue
Block a user