~ chicken-core (master) 2f8933f7b110e33a966876938407e594773239ad


commit 2f8933f7b110e33a966876938407e594773239ad
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Fri Apr 10 23:19:14 2026 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Fri Apr 10 23:19:14 2026 +0200

    print flags properly by omitting parens

diff --git a/csc.scm b/csc.scm
index 90f95d4f..1c0538a6 100644
--- a/csc.scm
+++ b/csc.scm
@@ -563,9 +563,9 @@ EOF
            (set! link-options (append link-options (builtin-link-options)))
 	   ;;
 	   (when inquiry-only
-	     (when show-cflags (print* (compiler-options) #\space))
-	     (when show-ldflags (print* (linker-options) #\space))
-	     (when show-libs (print* (linker-libraries) #\space))
+	     (when show-cflags (for-each (cut print* <> #\space) (compiler-options)))
+	     (when show-ldflags (for-each (cut print* <> #\space) (linker-options)))
+	     (when show-libs (for-each (cut print* <> #\space) (linker-libraries)))
 	     (newline)
 	     (exit) )
 	   (when (and compile-only
Trap