projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c8cede
)
tools/bootconfig: specify LDFLAGS as an argument to CC
author
Brian Masney
<bmasney@redhat.com>
Fri, 28 Mar 2025 18:38:58 +0000
(14:38 -0400)
committer
Masami Hiramatsu (Google)
<mhiramat@kernel.org>
Fri, 16 May 2025 02:22:54 +0000
(11:22 +0900)
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>
tools/bootconfig/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/tools/bootconfig/Makefile
b/tools/bootconfig/Makefile
index d2713902ca5c68e62995e1213769fdcafe15de1b..90eb47c9d8de67b0ccc74a8de0af3a7e0b97feeb 100644
(file)
--- 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)