File: klibc-kbuild-include-provided-kcflags-in-klibccflags.patch

package info (click to toggle)
klibc 2.0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,204 kB
  • sloc: ansic: 48,657; asm: 2,204; perl: 693; makefile: 220; sh: 177
file content (19 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 =