~ chicken-core (chicken-5) 2c101996f7225806b70508be76aeeddaaa716122
commit 2c101996f7225806b70508be76aeeddaaa716122 Author: Kooda <kooda@upyum.com> AuthorDate: Mon Apr 10 16:56:39 2017 +0200 Commit: Kooda <kooda@upyum.com> CommitDate: Mon Apr 10 16:56:39 2017 +0200 Make csc output the desired file in compile-only mode diff --git a/csc.scm b/csc.scm index 8e406ee3..5e7c2cee 100644 --- a/csc.scm +++ b/csc.scm @@ -880,7 +880,7 @@ EOF (list (cond (cpp-mode c++-compiler) (else compiler) ) (quotewrap f) - (string-append compile-output-flag (quotewrap fo)) + (string-append compile-output-flag (quotewrap (if compile-only target-filename fo))) compile-only-flag (if (and cpp-mode (string=? "g++" c++-compiler)) "-Wno-write-strings"Trap