[oe-commits] Henning Heinold : klibc: teach klcc what -isystem is
git version control
git at git.openembedded.org
Mon Dec 14 09:14:38 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 8f491bf275cf8a64d05e99f2e5b0c6c5143202b4
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8f491bf275cf8a64d05e99f2e5b0c6c5143202b4
Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date: Mon Dec 14 00:55:36 2009 +0100
klibc: teach klcc what -isystem is
* bump PR
---
recipes/klibc/klibc-1.5.15/isystem.patch | 13 +++++++++++++
recipes/klibc/klibc_1.5.15.bb | 2 +-
recipes/klibc/klibc_1.5.15.inc | 3 ++-
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/recipes/klibc/klibc-1.5.15/isystem.patch b/recipes/klibc/klibc-1.5.15/isystem.patch
new file mode 100644
index 0000000..2ec40c1
--- /dev/null
+++ b/recipes/klibc/klibc-1.5.15/isystem.patch
@@ -0,0 +1,13 @@
+Index: klibc-1.5.15/klcc/klcc.in
+===================================================================
+--- klibc-1.5.15.orig/klcc/klcc.in 2009-12-14 00:32:41.373661102 +0100
++++ klibc-1.5.15/klcc/klcc.in 2009-12-14 00:34:20.855735356 +0100
+@@ -147,7 +147,7 @@
+ } elsif ( $a =~ /^-([fmwWQdO]|std=|ansi|pedantic|M[GPD]|MMD)/ ) {
+ # Options to gcc
+ push(@ccopt, $a);
+- } elsif ( $a =~ /^-([DUI]|M[FQT])(.*)$/ ) {
++ } elsif ( $a =~ /^-([DUI]|M[FQT]|isystem)(.*)$/ ) {
+ # Options to gcc, which can take either a conjoined argument
+ # (-DFOO) or a disjoint argument (-D FOO)
+ push(@ccopt, $a);
diff --git a/recipes/klibc/klibc_1.5.15.bb b/recipes/klibc/klibc_1.5.15.bb
index 777dcd2..97898f2 100644
--- a/recipes/klibc/klibc_1.5.15.bb
+++ b/recipes/klibc/klibc_1.5.15.bb
@@ -1,4 +1,4 @@
require klibc_1.5.15.inc
-PR = "r4"
+PR = "r5"
KLIBC_FETCHDIR = "Testing"
diff --git a/recipes/klibc/klibc_1.5.15.inc b/recipes/klibc/klibc_1.5.15.inc
index f6f5b87..6615ac2 100644
--- a/recipes/klibc/klibc_1.5.15.inc
+++ b/recipes/klibc/klibc_1.5.15.inc
@@ -4,7 +4,8 @@ SRC_URI += "file://staging.patch;patch=1 \
file://klibc_kexecsyscall.patch;patch=1 \
file://mntproc-definitions.patch;patch=1 \
file://signal-cleanup.patch;patch=1 \
- "
+ file://isystem.patch;patch=1 \
+ "
# we want only the shared programms and the lib so we chose them manually
do_install() {
More information about the Openembedded-commits
mailing list