Load crsend.scm into the right environment.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 5 Oct 2013 21:42:03 +0000 (21:42 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 5 Oct 2013 21:42:03 +0000 (21:42 +0000)
src/Makefile.in

index c4ab9c9ae2c30687fe32b836276c9c3ea3513c15..c7bdc4a32459a0511f7586400b27211875b92d90 100644 (file)
@@ -484,9 +484,9 @@ cross-barrier: syntax-runtime
 
 .PHONY: cross-end
 cross-end: cross-barrier
-       (echo '(begin' && \
-        echo '  (load "../compiler/base/crsend")' && \
-        echo '  (finish-cross-compilation:directory ".."))') \
+       (echo '(let ((env (->environment (quote (RUNTIME)))))' && \
+        echo '  (load "../compiler/base/crsend" env)' && \
+        echo '  ((access FINISH-CROSS-COMPILATION:DIRECTORY env) ".."))') \
        | (cd runtime && ../microcode/scheme --batch-mode --library ../lib \
            --fasl make.bin)