[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250328183858.1417835-3-bmasney@redhat.com>
Date: Fri, 28 Mar 2025 14:38:58 -0400
From: Brian Masney <bmasney@...hat.com>
To: mhiramat@...nel.org
Cc: linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org,
aruiz@...hat.com
Subject: [PATCH 2/2] tools/bootconfig: specify LDFLAGS as an argument to CC
Explicitly specify LDFLAGS as an argument to CC so that this can be
overridden by the user.
Signed-off-by: Brian Masney <bmasney@...hat.com>
---
tools/bootconfig/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/bootconfig/Makefile b/tools/bootconfig/Makefile
index d2713902ca5c..90eb47c9d8de 100644
--- a/tools/bootconfig/Makefile
+++ b/tools/bootconfig/Makefile
@@ -18,7 +18,7 @@ ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
all: $(ALL_PROGRAMS) test
$(OUTPUT)bootconfig: main.c include/linux/bootconfig.h $(LIBSRC)
- $(CC) $(filter %.c,$^) $(CFLAGS) -o $@
+ $(CC) $(filter %.c,$^) $(CFLAGS) $(LDFLAGS) -o $@
test: $(ALL_PROGRAMS) test-bootconfig.sh
./test-bootconfig.sh $(OUTPUT)
--
2.47.0
Powered by blists - more mailing lists