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
# 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