diff options
author | Brian Masney <bmasney@redhat.com> | 2025-03-28 14:38:58 -0400 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-04-01 00:44:37 +0900 |
commit | f2851b372c38c30b7592196b9160ed4f6ea48e9f (patch) | |
tree | c049831baa6b599e08a75d42a4b6255cb3aa241f | |
parent | 8489a58670f0fd025bd83f2496d5a4d703965498 (diff) | |
download | linux-trace-bootconfig/tools.tar.gz |
tools/bootconfig: specify LDFLAGS as an argument to CCbootconfig/tools
Explicitly specify LDFLAGS as an argument to CC so that this can be
overridden by the user.
Link: https://lore.kernel.org/all/20250328183858.1417835-3-bmasney@redhat.com/
Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
-rw-r--r-- | tools/bootconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bootconfig/Makefile b/tools/bootconfig/Makefile index d2713902ca5c68..90eb47c9d8de67 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) |