X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=3ceb7584bc7c853dddf2d851e6ee26192e96a3b4;hb=8a97cca4411b211a5d4be617bb179e3f53a61f31;hp=89e75107261d1884d45486824826f9da22166270;hpb=40e3ba03d0e1b824e4d1ae75d74246b975b70964;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index 89e7510..3ceb758 100644 --- a/make-config.sh +++ b/make-config.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # The make-config.sh script uses information about the target machine # to set things up for compilation. It's vaguely like a stripped-down @@ -196,13 +197,15 @@ cd $original_dir if [ "$sbcl_arch" = "x86" ]; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf printf ' :stack-allocatable-closures' >> $ltf - if [ "$sbcl_os" = "linux" ] || [ "$sbcl_os" = "freebsd" ] || [ "$sbcl_os" = "netbsd" ]; then + if [ "$sbcl_os" = "linux" ] || [ "$sbcl_os" = "freebsd" ] || [ "$sbcl_os" = "netbsd" ] || [ "$sbcl_os" = "sunos" ]; then printf ' :linkage-table' >> $ltf fi elif [ "$sbcl_arch" = "x86-64" ]; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :linkage-table' >> $ltf printf ' :stack-allocatable-closures' >> $ltf elif [ "$sbcl_arch" = "mips" ]; then + printf ' :linkage-table' >> $ltf + printf ' :stack-allocatable-closures' >> $ltf # Use a little C program to try to guess the endianness. Ware # cross-compilers! # @@ -267,4 +270,3 @@ if [ `uname` = "SunOS" ] ; then PATH=/usr/xpg4/bin:$PATH fi echo '"'`hostname`-`id -un`-`date +%Y-%m-%d-%H-%M-%S`'"' > output/build-id.tmp -