X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=6b720e0225fe2ee1148542bd0e72ad6d9a2a9a87;hb=52f174450abacd81963073b71af2ce7b62908178;hp=f804496110a3f4aac0ab4d04a338b40ca57f3785;hpb=ad096f09fb631331f584121bfe5ee3bfc7f1f951;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index f804496..6b720e0 100644 --- a/make-config.sh +++ b/make-config.sh @@ -208,6 +208,10 @@ EOF exit 1 fi +# Running make.sh with different options without clean.sh in the middle +# can break things. +sh clean.sh + mkdir -p output # Save prefix for make and install.sh. echo "SBCL_PREFIX='$SBCL_PREFIX'" > output/prefix.def @@ -478,7 +482,7 @@ case "$sbcl_os" in printf ' :freebsd' >> $ltf printf ' :gcc-tls' >> $ltf if [ $sbcl_arch = "x86" ]; then - printf ' :restore-tls-segment-register-from-context' >> $ltf + printf ' :restore-fs-segment-register-from-tls' >> $ltf fi link_or_copy Config.$sbcl_arch-freebsd Config ;; @@ -526,9 +530,22 @@ case "$sbcl_os" in ;; win32) printf ' :win32' >> $ltf + # + # Optional features -- We enable them by default, but the build + # ought to work perfectly without them: + # printf ' :sb-futex' >> $ltf printf ' :sb-qshow' >> $ltf + # + # Required features -- Some of these used to be optional, but + # building without them is no longer considered supported: + # + # (Of course it doesn't provide dlopen, but there is + # roughly-equivalent magic nevertheless:) + printf ' :sb-dynamic-core :os-provides-dlopen' >> $ltf printf ' :sb-thread :sb-safepoint :sb-thruption :sb-wtimer' >> $ltf + printf ' :sb-safepoint-strictly' >> $ltf + # link_or_copy Config.$sbcl_arch-win32 Config link_or_copy $sbcl_arch-win32-os.h target-arch-os.h link_or_copy win32-os.h target-os.h