From c4739345fe4c1ec3db69acd85b89b78d879346f1 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 24 Jun 2019 04:11:33 +0200 Subject: [PATCH] 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. --- third-party/cmake/BuildLuajit.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/third-party/cmake/BuildLuajit.cmake b/third-party/cmake/BuildLuajit.cmake index e965927f4e..791da4b7df 100644 --- a/third-party/cmake/BuildLuajit.cmake +++ b/third-party/cmake/BuildLuajit.cmake @@ -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