summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-luajit-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/m4/kpse-luajit-flags.m4')
-rw-r--r--Build/source/m4/kpse-luajit-flags.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/m4/kpse-luajit-flags.m4 b/Build/source/m4/kpse-luajit-flags.m4
index 996dca12e7e..21e1e32b603 100644
--- a/Build/source/m4/kpse-luajit-flags.m4
+++ b/Build/source/m4/kpse-luajit-flags.m4
@@ -7,9 +7,8 @@
# KPSE_LUAJIT_FLAGS
# -----------------
-# Set the make variables LUAJIT_INCLUDES and LUAJIT_LIBS to
-# the CPPFLAGS and LIBS required for the `-lluajit' library in
-# libs/luajit/ of the TL tree.
+# Set the make variables LUAJIT_INCLUDES and LUAJIT_LIBS to the CPPFLAGS and
+# LIBS required for the `-lluajit' library in libs/luajit/ of the TL tree.
AC_DEFUN([KPSE_LUAJIT_FLAGS], [dnl
_KPSE_LIB_FLAGS([luajit], [luajit], [tree],
[-IBLD/libs/luajit/include], [BLD/libs/luajit/libluajit.a], [],
@@ -24,7 +23,7 @@ _KPSE_LIB_FLAGS([luajit], [luajit], [tree],
# linking with the `-lluajit' library.
AC_DEFUN([KPSE_LUAJIT_DEFINES], [dnl
AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
-AC_SUBST([LUAJIT_DEFINES], [-DLUAJIT_ENABLE_LUA52COMPAT])
+AC_SUBST([LUAJIT_DEFINES], ['-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6'])
AS_CASE([$host_os:$host_cpu],
[*darwin*:x86_64], [LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000'])
AC_SUBST([LUAJIT_LDEXTRA])