~ chicken-core (chicken-5) 383121eded67b0b87efb0e2316d7b7d7eee64548
commit 383121eded67b0b87efb0e2316d7b7d7eee64548 Author: felix <felix@call-with-current-continuation.org> AuthorDate: Mon May 23 10:55:56 2011 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Mon May 23 11:13:10 2011 +0200 disable -setup-mode for csc in deployment mode (thanks to Ivan Raikov) diff --git a/setup-api.scm b/setup-api.scm index e88dd302..978913a6 100644 --- a/setup-api.scm +++ b/setup-api.scm @@ -241,9 +241,9 @@ (cons* (shellpath (find-program "csc")) "-feature" "compiling-extension" - (if (and (feature? #:cross-chicken) - (not (deployment-mode)) - (not (host-extension))) + (if (or (deployment-mode) + (and (feature? #:cross-chicken) + (not (host-extension)))) "" "-setup-mode") (if (keep-intermediates) "-k" "") (if (host-extension) "-host" "")Trap