X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=0101f23020423a48670a14b0dbdee3ec10e22cdf;hb=e8571be6d533b80768bdae4e3e15316e4faa22fa;hp=84b34f5c75094a0bb6fb1491ec7b5a1da10bb2a4;hpb=bd2df60f7c3f579a9c7610925c79a0e783adaa0e;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index 84b34f5..0101f23 100644 --- a/make-config.sh +++ b/make-config.sh @@ -252,7 +252,10 @@ case "$sbcl_os" in printf ' :unix' >> $ltf printf ' :elf' >> $ltf printf ' :sunos' >> $ltf - if [ $sbcl_arch = "x86" ] || [ $sbcl_arch = "amd64" ]; then + if [ $sbcl_arch = "x86-64" ]; then + printf ' :largefile' >> $ltf + fi + if [ $sbcl_arch = "x86" ] || [ $sbcl_arch = "x86-64" ]; then printf ' :sb-lutex' >> $ltf fi link_or_copy Config.$sbcl_arch-sunos Config @@ -300,6 +303,7 @@ if [ "$sbcl_arch" = "x86" ]; then printf ' :stack-allocatable-closures :stack-allocatable-vectors' >> $ltf printf ' :stack-allocatable-lists :stack-allocatable-fixed-objects' >> $ltf printf ' :alien-callbacks :cycle-counter :inline-constants ' >> $ltf + printf ' :memory-barrier-vops' >> $ltf case "$sbcl_os" in linux | freebsd | netbsd | openbsd | sunos | darwin | win32) printf ' :linkage-table' >> $ltf @@ -309,13 +313,17 @@ if [ "$sbcl_arch" = "x86" ]; then # roughly-equivalent magic nevertheless. printf ' :os-provides-dlopen' >> $ltf fi + if [ "$sbcl_os" = "openbsd" ]; then + rm -f src/runtime/openbsd-sigcontext.h + sh tools-for-build/openbsd-sigcontext.sh > src/runtime/openbsd-sigcontext.h + fi elif [ "$sbcl_arch" = "x86-64" ]; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :linkage-table' >> $ltf printf ' :compare-and-swap-vops :unwind-to-frame-and-call-vop :raw-instance-init-vops' >> $ltf printf ' :stack-allocatable-closures :stack-allocatable-vectors' >> $ltf printf ' :stack-allocatable-lists :stack-allocatable-fixed-objects' >> $ltf printf ' :alien-callbacks :cycle-counter :complex-float-vops' >> $ltf - printf ' :float-eql-vops :inline-constants ' >> $ltf + printf ' :float-eql-vops :inline-constants :memory-barrier-vops' >> $ltf elif [ "$sbcl_arch" = "mips" ]; then printf ' :linkage-table' >> $ltf printf ' :stack-allocatable-closures :stack-allocatable-vectors' >> $ltf @@ -329,7 +337,8 @@ elif [ "$sbcl_arch" = "mips" ]; then tools-for-build/determine-endianness >> $ltf elif [ "$sbcl_arch" = "ppc" ]; then printf ' :gencgc :stack-allocatable-closures :stack-allocatable-lists' >> $ltf - printf ' :linkage-table :raw-instance-init-vops' >> $ltf + printf ' :linkage-table :raw-instance-init-vops :memory-barrier-vops' >> $ltf + printf ' :compare-and-swap-vops' >> $ltf if [ "$sbcl_os" = "linux" ]; then # Use a C program to detect which kind of glibc we're building on, # to bandage across the break in source compatibility between