aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMike Pall <mike>2016-06-03 06:42:35 +0200
committerMike Pall <mike>2016-06-03 06:52:53 +0200
commit58ca165737363af4800683577f2a6cc92e640dcc (patch)
treed55f22202888145d1c60da5c81de26a29f0d88ad /src/Makefile
parent7d4340230468dc0436d761da0aaa6dc18f572bec (diff)
downloadluajit-58ca165737363af4800683577f2a6cc92e640dcc.tar.gz
luajit-58ca165737363af4800683577f2a6cc92e640dcc.tar.bz2
luajit-58ca165737363af4800683577f2a6cc92e640dcc.zip
LJ_GC64: Allow optional use of the system memory allocator.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 16aeba19..fb5fdcb7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -121,8 +121,8 @@ XCFLAGS=
121# 121#
122# Use the system provided memory allocator (realloc) instead of the 122# Use the system provided memory allocator (realloc) instead of the
123# bundled memory allocator. This is slower, but sometimes helpful for 123# bundled memory allocator. This is slower, but sometimes helpful for
124# debugging. This option cannot be enabled on x64, since realloc usually 124# debugging. This option cannot be enabled on x64 without GC64, since
125# doesn't return addresses in the right address range. 125# realloc usually doesn't return addresses in the right address range.
126# OTOH this option is mandatory for Valgrind's memcheck tool on x64 and 126# OTOH this option is mandatory for Valgrind's memcheck tool on x64 and
127# the only way to get useful results from it for all other architectures. 127# the only way to get useful results from it for all other architectures.
128#XCFLAGS+= -DLUAJIT_USE_SYSMALLOC 128#XCFLAGS+= -DLUAJIT_USE_SYSMALLOC