mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-28 06:35:24 +02:00
19 lines
530 B
Diff
19 lines
530 B
Diff
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 =
|