mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
9d8943fd2e
Drop staging related patches which are not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 4b4147b76518d31a88fb2c58cdbf2236e159a25c Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 8 Sep 2017 23:10:54 -0700
|
|
Subject: [PATCH] Kbuild.klibc: Add path to compiler headers via -isystem
|
|
|
|
We need to include this path so it can find compiler headers e.g.
|
|
stdarg.h which is called from wrapper stdarg.h using include_next
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
scripts/Kbuild.klibc | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
|
|
index 101f86f..1d5cdc4 100644
|
|
--- a/scripts/Kbuild.klibc
|
|
+++ b/scripts/Kbuild.klibc
|
|
@@ -105,7 +105,8 @@ KLIBCOBJCOPY := $(OBJCOPY)
|
|
KLIBCOBJDUMP := $(OBJDUMP)
|
|
|
|
# klibc include paths
|
|
-KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
|
|
+KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
|
|
+ -isystem $(shell $(CC) -print-file-name=include) \
|
|
-I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \
|
|
-I$(KLIBCINC)/bits$(KLIBCBITSIZE) \
|
|
-I$(KLIBCOBJ)/../include \
|