projects
/
klibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0d61d
)
[klibc] Kbuild: Include provided KCFLAGS in KLIBCCFLAGS
author
Ben Hutchings
<benh@debian.org>
Fri, 31 Dec 2021 13:59:23 +0000
(14:59 +0100)
committer
Ben Hutchings
<benh@debian.org>
Sun, 12 Feb 2023 22:57:04 +0000
(22:57 +0000)
If KCFLAGS is provided through the environment or make variables, use
it in addition to all the options we need.
Gbp-Pq: Name klibc-kbuild-include-provided-kcflags-in-klibccflags.patch
scripts/Kbuild.klibc
patch
|
blob
|
history
diff --git
a/scripts/Kbuild.klibc
b/scripts/Kbuild.klibc
index accf7f1b1c0e494562d6f28b8f405f641419b0ce..0c970452dd06fe2bcc2e6fff65760a6efee89cb3 100644
(file)
--- a/
scripts/Kbuild.klibc
+++ b/
scripts/Kbuild.klibc
@@
-78,7
+78,7
@@
KLIBCWARNFLAGS := -W -Wall -Wno-sign-compare -Wno-unused-parameter
KLIBCSHAREDFLAGS :=
KLIBCBITSIZE :=
KLIBCLDFLAGS :=
-KLIBCCFLAGS :=
+KLIBCCFLAGS :=
$(KCFLAGS)
# Defaults for arch to override
KLIBCARCHINCFLAGS =