X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=23f8dcc8b878626f12230e7d7289bf3d30ca2810;hb=b8f49ceae4a3b513de21f385bb784729d2ddff3f;hp=e85d17a82204ccbc980624d0a0e1d6c6c0466ee1;hpb=81e552e32af4b500bcbddea6b3f1853cac0572ec;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index e85d17a..23f8dcc 100644 --- a/make-config.sh +++ b/make-config.sh @@ -139,7 +139,7 @@ for d in src/compiler src/assembly; do echo "missing sbcl_arch directory $PWD/$sbcl_arch" exit 1 fi - cd $original_dir + cd "$original_dir" done echo //setting up symlink src/compiler/assembly @@ -147,7 +147,7 @@ remove_dir_safely src/compiler/assembly original_dir=`pwd` cd src/compiler link_or_copy ../assembly assembly -cd $original_dir +cd "$original_dir" echo //setting up OS-dependent information original_dir=`pwd` @@ -256,7 +256,7 @@ case "$sbcl_os" in exit 1 ;; esac -cd $original_dir +cd "$original_dir" # FIXME: Things like :c-stack-grows-..., etc, should be # *derived-target-features* or equivalent, so that there was a nicer @@ -284,9 +284,10 @@ if [ "$sbcl_arch" = "x86" ]; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf printf ' :compare-and-swap-vops :unwind-to-frame-and-call-vop' >> $ltf printf ' :stack-allocatable-closures :alien-callbacks' >> $ltf - if [ "$sbcl_os" = "linux" ] || [ "$sbcl_os" = "freebsd" ] || [ "$sbcl_os" = "netbsd" ] || [ "$sbcl_os" = "sunos" ] || [ "$sbcl_os" = "darwin" ] || [ "$sbcl_os" = "win32" ]; then + case "$sbcl_os" in + linux | freebsd | netbsd | openbsd | sunos | darwin | win32) printf ' :linkage-table' >> $ltf - fi + esac if [ "$sbcl_os" = "win32" ]; then # of course it doesn't provide dlopen, but there is # roughly-equivalent magic nevertheless.