aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2010-11-19 17:00:11 +0100
committerMike Pall <mike>2010-11-19 17:00:11 +0100
commit57cd5026ebe6be2c7f1c2851557b9b7e2261a3d3 (patch)
tree1310b981adee73d6d8a5720e658562c32540ed84 /src/Makefile
parentba602c9578e01b1d692beddf7e974fa70b6eecf2 (diff)
downloadluajit-57cd5026ebe6be2c7f1c2851557b9b7e2261a3d3.tar.gz
luajit-57cd5026ebe6be2c7f1c2851557b9b7e2261a3d3.tar.bz2
luajit-57cd5026ebe6be2c7f1c2851557b9b7e2261a3d3.zip
Disable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index da9f67b2..0417b1cb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -62,6 +62,11 @@ CCWARN= -Wall
62# Note that most of these are NOT suitable for benchmarking or release mode! 62# Note that most of these are NOT suitable for benchmarking or release mode!
63XCFLAGS= 63XCFLAGS=
64# 64#
65# Enable some upwards-compatible features from Lua 5.2 that are unlikely
66# to break existing code (e.g. __pairs). Note that this does not provide
67# full compatibility with Lua 5.2 at this time.
68#XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT
69#
65# Disable the use of CMOV and FCOMI*/FUCOMI* instructions in the interpreter. 70# Disable the use of CMOV and FCOMI*/FUCOMI* instructions in the interpreter.
66# This is only necessary if you intend to run the code on REALLY ANCIENT CPUs 71# This is only necessary if you intend to run the code on REALLY ANCIENT CPUs
67# (before Pentium Pro, or on the VIA C3). This generally slows down the 72# (before Pentium Pro, or on the VIA C3). This generally slows down the