X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fsb-grovel%2Fdef-to-lisp.lisp;h=aa13f2e71a11154faaa5dafdf87da759967c3ee2;hb=ce2002271034469dc3ccdcaef7d13db76403b90d;hp=30265a0188ff20aa61a252d294fb6160c7a41978;hpb=4266faf75f8cf69af75e3b766c8c870f6e51bba1;p=sbcl.git diff --git a/contrib/sb-grovel/def-to-lisp.lisp b/contrib/sb-grovel/def-to-lisp.lisp index 30265a0..aa13f2e 100644 --- a/contrib/sb-grovel/def-to-lisp.lisp +++ b/contrib/sb-grovel/def-to-lisp.lisp @@ -187,7 +187,8 @@ code: (funcall (intern "C-CONSTANTS-EXTRACT" (find-package "SB-GROVEL")) filename tmp-c-source (constants-package component)) (unless (do-not-grovel component) - (let* ((cc (or (sb-ext:posix-getenv "CC") + (let* ((cc (or (and (string/= (sb-ext:posix-getenv "CC") "") + (sb-ext:posix-getenv "CC")) ;; It might be nice to include a CONTINUE or ;; USE-VALUE restart here, but ASDF seems to insist ;; on handling the errors itself.