aboutsummaryrefslogtreecommitdiff
path: root/src/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp')
-rw-r--r--src/lisp/core.lisp.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in
index 7f7e6357..f746c4c1 100644
--- a/src/lisp/core.lisp.in
+++ b/src/lisp/core.lisp.in
@@ -853,11 +853,13 @@
(compile-file file :output-file out-file :system-p t
:c-file t :h-file t)
(compile-file file :output-file out-file :system-p t))
- #+:ecl (if (and result (not failure-p)
- (null (c::build-fasl (compile-file-pathname out-file)
- :lisp-files `(,out-file)
- :ld-flags (extra-runtime-libs))))
- (setq result nil))
+ #+:ecl
+ (let ((compiler::*ld* oa-cxx))
+ (if (and result (not failure-p)
+ (null (c::build-fasl (compile-file-pathname out-file)
+ :lisp-files `(,out-file)
+ :ld-flags (extra-runtime-libs))))
+ (setq result nil)))
(cond ((null result)
(|coreError| "compilation of Lisp code failed"))
(failure-p