* [gentoo-commits] repo/gentoo:master commit in: dev-util/bootconfig/files/
@ 2022-06-17 15:25 Yixun Lan
0 siblings, 0 replies; only message in thread
From: Yixun Lan @ 2022-06-17 15:25 UTC (permalink / raw
To: gentoo-commits
commit: b28ced397973df2fedc1c3d9465523bf46a79784
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 15:21:57 2022 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 15:21:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28ced39
dev-util/bootconfig: QA, respect CFLAGS/LDFLAGS
Closes: https://bugs.gentoo.org/852797
Closes: https://bugs.gentoo.org/852776
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-util/bootconfig/files/bootconfig-5.18-cflags.patch | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch b/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch
index 7d6b23338935..8ce106275a24 100644
--- a/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch
+++ b/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch
@@ -1,5 +1,5 @@
diff --git a/Makefile b/Makefile
-index 566c3e0..21818c7 100644
+index 566c3e0..aa65fd7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
@@ -11,3 +11,12 @@ index 566c3e0..21818c7 100644
ALL_TARGETS := bootconfig
ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
+@@ -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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-17 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 15:25 [gentoo-commits] repo/gentoo:master commit in: dev-util/bootconfig/files/ Yixun Lan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox