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