From 268d00205897cfe4311a28f9c8f78ced00340abe Mon Sep 17 00:00:00 2001 From: Matt Whitlock Date: Sun, 23 Aug 2026 20:31:23 -0400 Subject: [PATCH] Makefile: don't show config.vars on the LD line in show-flags This was apparently a copy-paste mistake. The example link command line shown by the 'show-flags' target shouldn't include $^ since 'show-flags' has no prerequisites that are actually object files or libraries. The inclusion of $^ was causing the example command line to contain "config.vars", which makes no sense. Remove the $^. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20d4aedff053baa531131487800a9aaddf4d647f..cb5f2b824f9dfe8b342493c5a0f0d2a732d85221 100644 --- a/Makefile +++ b/Makefile @@ -331,7 +331,7 @@ endif show-flags: config.vars @$(ECHO) "CC: $(CC) $(CFLAGS) -c -o" - @$(ECHO) "LD: $(LINK.o) $(filter-out %.a,$^) $(LOADLIBES) $(EXTERNAL_LDLIBS) $(LDLIBS) -o" + @$(ECHO) "LD: $(LINK.o) $(LOADLIBES) $(EXTERNAL_LDLIBS) $(LDLIBS) -o" # We will re-generate, but we won't generate for the first time! ccan/config.h config.vars &: configure ccan/tools/configurator/configurator.c