Disable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT.

This commit is contained in:
Mike Pall
2010-11-19 17:00:11 +01:00
parent ba602c9578
commit 57cd5026eb
10 changed files with 2973 additions and 2901 deletions

View File

@@ -62,6 +62,11 @@ CCWARN= -Wall
# Note that most of these are NOT suitable for benchmarking or release mode!
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
#
# Disable the use of CMOV and FCOMI*/FUCOMI* instructions in the interpreter.
# This is only necessary if you intend to run the code on REALLY ANCIENT CPUs
# (before Pentium Pro, or on the VIA C3). This generally slows down the