summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-13 08:37:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-13 08:37:06 +0000
commitb9bd267a8fa9564a7328baf183b54bf85c1f2f5f (patch)
treede547b26862faf5167e879f2f3cc5c9e74fd90be /Build/source/libs/luajit/configure
parent1ab81a0aa4acf1ffffa0b84ff87dab88a255166c (diff)
build system: Always use special flags when linking with libluajit on x64_64-darwin
git-svn-id: svn://tug.org/texlive/trunk@33168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/luajit/configure')
-rwxr-xr-xBuild/source/libs/luajit/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/configure b/Build/source/libs/luajit/configure
index 329f141d7f3..48e2a2da176 100755
--- a/Build/source/libs/luajit/configure
+++ b/Build/source/libs/luajit/configure
@@ -601,6 +601,7 @@ PEOBJ_TRUE
DASM_ARCH
LJARCH
CPP
+LUAJIT_LDEXTRA
LUAJIT_DEFINES
LN_S
RANLIB
@@ -4845,6 +4846,13 @@ fi
LUAJIT_DEFINES=-DLUAJIT_ENABLE_LUA52COMPAT
+case $host_os:$host_cpu in #(
+ *darwin*:x86_64) :
+ LUAJIT_LDEXTRA='-pagezero_size 10000 -image_base 100000000' ;; #(
+ *) :
+ ;;
+esac
+
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then :