From 60bb50897fc86c127c4598e26be4fc3b3b7a0704 Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Tue, 12 Jul 2011 11:15:31 +0200 Subject: [PATCH] Tweak slam.sh to be slightly more configurable regarding the host binary Developers building with an existing SBCL as a host, which is not installed as "sbcl" in the path, or which needs a --core option, can now set XC_LISP and XC_CORE prior to invoking slam.sh. Previously, such a host could only be used with slam.sh after custom modifications to the script. The default behaviour is unchanged. --- slam.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slam.sh b/slam.sh index 63108f3..202c8aa 100644 --- a/slam.sh +++ b/slam.sh @@ -79,7 +79,7 @@ case "$HOST_TYPE" in INIT="-noinit" CORE="-core" ;; - sbcl) LISP="sbcl" + sbcl) LISP="${XC_LISP:-sbcl}" INIT="--no-sysinit --no-userinit" CORE="--core" ;; @@ -97,7 +97,7 @@ case "$HOST_TYPE" in exit 1 esac -SBCL_XC_HOST="$LISP $INIT" +SBCL_XC_HOST="$LISP ${XC_CORE:+$CORE $XC_CORE} $INIT" export SBCL_XC_HOST # (We don't do make-host-1.sh at all. Hopefully nothing relevant has -- 1.7.10.4