X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=9cbfa0d1639d465c6fb1171c7ee7bd8c549e9830;hb=11b5ac86a98f058fe0375b0a707c6ef9e24590c9;hp=c9dad1d5f902299cf00146905b341bf379843c6d;hpb=a3282da5cd4d2e9793a4def7738e544b813eed01;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index c9dad1d..9cbfa0d 100644 --- a/make-config.sh +++ b/make-config.sh @@ -129,7 +129,7 @@ if [ "$sbcl_os" = "sunos" ] && [ `isainfo -k` = "amd64" ]; then fi # Under Darwin, uname -m returns "i386" even if CPU is x86_64. -if [ "$sbcl_os" = "darwin" ] && [ "`sysctl -n hw.optional.x86_64`" = "1" ]; then +if [ "$sbcl_os" = "darwin" ] && [ "`/usr/sbin/sysctl -n hw.optional.x86_64`" = "1" ]; then guessed_sbcl_arch=x86-64 fi @@ -240,10 +240,10 @@ case "$sbcl_os" in printf ' :bsd' >> $ltf printf ' :darwin' >> $ltf if [ $sbcl_arch = "x86" ]; then - printf ' :mach-exception-handler :sb-lutex :restore-fs-segment-register-from-tls' >> $ltf + printf ' :mach-exception-handler :sb-lutex :restore-fs-segment-register-from-tls :ud2-breakpoints' >> $ltf fi if [ $sbcl_arch = "x86-64" ]; then - printf ' :mach-exception-handler :sb-lutex' >> $ltf + printf ' :mach-exception-handler :sb-lutex :ud2-breakpoints' >> $ltf fi link_or_copy $sbcl_arch-darwin-os.h target-arch-os.h link_or_copy bsd-os.h target-os.h @@ -329,7 +329,7 @@ elif [ "$sbcl_arch" = "mips" ]; then $GNUMAKE -C tools-for-build determine-endianness -I ../src/runtime tools-for-build/determine-endianness >> $ltf elif [ "$sbcl_arch" = "ppc" ]; then - printf ' :gencgc :stack-allocatable-closures :stacka-allocatable-lists' >> $ltf + printf ' :gencgc :stack-allocatable-closures :stack-allocatable-lists' >> $ltf printf ' :linkage-table' >> $ltf if [ "$sbcl_os" = "linux" ]; then # Use a C program to detect which kind of glibc we're building on,