Update of /cvsroot/sbcl/sbcl/contrib/sb-grovel
In directory sc8-pr-cvs1:/tmp/cvs-serv21964/contrib/sb-grovel
Ouch. That was hard work.
... contrib fix primarily for SunOS but also I think for Darwin;
at least, if it was working it was only by accident.
... uname -m never returns either "solaris" or "darwin", so that
code was wrong to start with;
... change the protocol so that we do EXTRA_CFLAGS rather than
a complete override; now we don't need the solaris or
darwin clauses in asdf-module.mk that weren't being used
... delete more stuff in make-target-contrib.sh so that we can
actually see the effect of these changes rather than
blindly reusing an old alien.so (which explains why I
hadn't noticed this before, *sigh*; I ran a completely
clean build on Solaris for the first time in months
... now sb-bsd-sockets and dependents work again. I hope I haven't
broken x86-64 in the process.
RCS file: /cvsroot/sbcl/sbcl/contrib/sb-grovel/def-to-lisp.lisp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- def-to-lisp.lisp 19 Nov 2003 13:48:08 -0000 1.9
+++ def-to-lisp.lisp 29 Nov 2003 20:41:47 -0000 1.10
@@ -105,8 +105,8 @@
filename tmp-c-source (constants-package component))
(= (run-shell-command "gcc ~A -o ~S ~S"
- (if (sb-ext:posix-getenv "CFLAGS")
- (sb-ext:posix-getenv "CFLAGS")
+ (if (sb-ext:posix-getenv "EXTRA_CFLAGS")
+ (sb-ext:posix-getenv "EXTRA_CFLAGS")
(namestring tmp-c-source)) 0)