summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-03-12 13:11:14 -0700
committerKhem Raj <raj.khem@gmail.com>2019-03-14 07:24:03 -0700
commit9d8943fd2ec43868a1ca76712fd15dcc144f75ff (patch)
tree68909cd0d6afcafc83f952785e9dc7fea90c164e /meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch
parent0597e79805b0e7d51c292b3767f3b8d097daf8de (diff)
downloadmeta-openembedded-9d8943fd2ec43868a1ca76712fd15dcc144f75ff.tar.gz
klibc: Upgrade to 2.0.6 release
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>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch b/meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch
new file mode 100644
index 000000000..181dcfb6d
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/klibc/files/0001-Kbuild.klibc-Add-path-to-compiler-headers-via-isyste.patch
@@ -0,0 +1,28 @@
1From 4b4147b76518d31a88fb2c58cdbf2236e159a25c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Sep 2017 23:10:54 -0700
4Subject: [PATCH] Kbuild.klibc: Add path to compiler headers via -isystem
5
6We need to include this path so it can find compiler headers e.g.
7stdarg.h which is called from wrapper stdarg.h using include_next
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11---
12 scripts/Kbuild.klibc | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
16index 101f86f..1d5cdc4 100644
17--- a/scripts/Kbuild.klibc
18+++ b/scripts/Kbuild.klibc
19@@ -105,7 +105,8 @@ KLIBCOBJCOPY := $(OBJCOPY)
20 KLIBCOBJDUMP := $(OBJDUMP)
21
22 # klibc include paths
23-KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
24+KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
25+ -isystem $(shell $(CC) -print-file-name=include) \
26 -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \
27 -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \
28 -I$(KLIBCOBJ)/../include \