~ chicken-core (chicken-5) 3deda9a84e49a5177ff2515fa6f59e5698493e8b
commit 3deda9a84e49a5177ff2515fa6f59e5698493e8b 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 10:55:56 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 294441eb..72738573 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