From 20f0cf8199746ca2dda525c6f9837f5744d38038 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 24 Jan 2012 04:41:38 +1000 Subject: Turn on some of the good stuff in LuaJIT. --- libraries/luajit-2.0/src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/luajit-2.0/src') diff --git a/libraries/luajit-2.0/src/Makefile b/libraries/luajit-2.0/src/Makefile index 5a60612..80991bf 100644 --- a/libraries/luajit-2.0/src/Makefile +++ b/libraries/luajit-2.0/src/Makefile @@ -100,7 +100,7 @@ XCFLAGS= # Enable some upwards-compatible features from Lua 5.2 that are unlikely # to break existing code (e.g. __pairs). Note that this does not provide # full compatibility with Lua 5.2 at this time. -#XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT +XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT # # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter. #XCFLAGS+= -DLUAJIT_DISABLE_JIT @@ -123,7 +123,7 @@ XCFLAGS= # dual-number (2) mode. Uncomment one of these lines to override the # default mode. Please see LJ_ARCH_NUMMODE in lj_arch.h for details. #XCFLAGS+= -DLUAJIT_NUMMODE=1 -#XCFLAGS+= -DLUAJIT_NUMMODE=2 +XCFLAGS+= -DLUAJIT_NUMMODE=2 # ############################################################################## -- cgit v1.1