From 743f4bbe7de74f827effb1a658f37b43e8e13b05 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sat, 18 Jan 2025 18:55:32 +0800 Subject: [PATCH] escapes `customArgs` --- src/nimony/deps.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimony/deps.nim b/src/nimony/deps.nim index 2b8340ea..995c862f 100644 --- a/src/nimony/deps.nim +++ b/src/nimony/deps.nim @@ -289,7 +289,7 @@ proc generateFinalMakefile(c: DepContext): string = for cfile in buildList: s.add "\n" & mescape("nifcache" / cfile.obj) & ": " & mescape(cfile.name) & "\n\t$(CC) -c $(CFLAGS) $(CPPFLAGS) " & - cfile.customArgs & " $< -o $@" + mescape(cfile.customArgs) & " $< -o $@" # The .o files depend on all of their .c files: s.add "\n%.o: %.c\n\t$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@"