From 913fb91054fa1f0a48e40b6cf29d175f339f25f2 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 31 Dec 2021 14:59:23 +0100 Subject: [PATCH] [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. Gbp-Pq: Name klibc-kbuild-include-provided-kcflags-in-klibccflags.patch --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index accf7f1..0c97045 100644 --- 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 = -- 2.30.2