summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2010-11-30 21:56:57 +0100
committerMike Pall <mike>2010-11-30 21:56:57 +0100
commit0ffd06aba8de49ce751e5e9bcf7aa71bd42403f1 (patch)
tree90350904a9e49b5c7ec2757e8d7253ab3b74b8b4 /src/Makefile
parent4ed8a1931b4bf2331d9f79bc1f08576eb800c2ee (diff)
downloadluajit-0ffd06aba8de49ce751e5e9bcf7aa71bd42403f1.tar.gz
luajit-0ffd06aba8de49ce751e5e9bcf7aa71bd42403f1.tar.bz2
luajit-0ffd06aba8de49ce751e5e9bcf7aa71bd42403f1.zip
FFI: Add define to disable the FFI library.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 87fddbad..3b9d202a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -88,6 +88,12 @@ BUILDMODE= mixed
88# recompile with "make clean", followed by "make". 88# recompile with "make clean", followed by "make".
89XCFLAGS= 89XCFLAGS=
90# 90#
91# Permanently disable the FFI extension to reduce the size of the LuaJIT
92# executable. But please consider that the FFI library is compiled-in,
93# but NOT loaded by default. It only allocates any memory, if you actually
94# make use of it.
95#XCFLAGS+= -DLUAJIT_DISABLE_FFI
96#
91# Enable some upwards-compatible features from Lua 5.2 that are unlikely 97# Enable some upwards-compatible features from Lua 5.2 that are unlikely
92# to break existing code (e.g. __pairs). Note that this does not provide 98# to break existing code (e.g. __pairs). Note that this does not provide
93# full compatibility with Lua 5.2 at this time. 99# full compatibility with Lua 5.2 at this time.