aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 722efc33..fae4c7ba 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -119,8 +119,10 @@ XCFLAGS=
119# 119#
120# Use the system provided memory allocator (realloc) instead of the 120# Use the system provided memory allocator (realloc) instead of the
121# bundled memory allocator. This is slower, but sometimes helpful for 121# bundled memory allocator. This is slower, but sometimes helpful for
122# debugging. It's helpful for Valgrind's memcheck tool, too. This option 122# debugging. This option cannot be enabled on x64, since realloc usually
123# cannot be enabled on x64, since the built-in allocator is mandatory. 123# doesn't return addresses in the right address range.
124# OTOH this option is mandatory for Valgrind's memcheck tool on x64 and
125# the only way to get useful results from it for all other architectures.
124#XCFLAGS+= -DLUAJIT_USE_SYSMALLOC 126#XCFLAGS+= -DLUAJIT_USE_SYSMALLOC
125# 127#
126# This define is required to run LuaJIT under Valgrind. The Valgrind 128# This define is required to run LuaJIT under Valgrind. The Valgrind