diff options
Diffstat (limited to 'debian/patches/klibc-kbuild-include-provided-kcflags-in-klibccflags.patch')
-rw-r--r-- | debian/patches/klibc-kbuild-include-provided-kcflags-in-klibccflags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/klibc-kbuild-include-provided-kcflags-in-klibccflags.patch b/debian/patches/klibc-kbuild-include-provided-kcflags-in-klibccflags.patch new file mode 100644 index 0000000..adf5a8b --- /dev/null +++ b/debian/patches/klibc-kbuild-include-provided-kcflags-in-klibccflags.patch @@ -0,0 +1,19 @@ +From: Ben Hutchings <benh@debian.org> +Date: Fri, 31 Dec 2021 14:59:23 +0100 +Subject: [klibc] Kbuild: Include provided KCFLAGS in KLIBCCFLAGS + +If KCFLAGS is provided through the environment or make variables, use +it in addition to all the options we need. + +--- +--- a/scripts/Kbuild.klibc ++++ b/scripts/Kbuild.klibc +@@ -78,7 +78,7 @@ KLIBCOPTFLAGS := + KLIBCSHAREDFLAGS := + KLIBCBITSIZE := + KLIBCLDFLAGS := +-KLIBCCFLAGS := ++KLIBCCFLAGS := $(KCFLAGS) + + # Defaults for arch to override + KLIBCARCHINCFLAGS = |