klibc: teach klcc what -isystem is
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sun, 13 Dec 2009 23:55:36 +0000 (00:55 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sun, 13 Dec 2009 23:57:53 +0000 (00:57 +0100)
* bump PR

recipes/klibc/klibc-1.5.15/isystem.patch [new file with mode: 0644]
recipes/klibc/klibc_1.5.15.bb
recipes/klibc/klibc_1.5.15.inc

diff --git a/recipes/klibc/klibc-1.5.15/isystem.patch b/recipes/klibc/klibc-1.5.15/isystem.patch
new file mode 100644 (file)
index 0000000..2ec40c1
--- /dev/null
@@ -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);
index 777dcd2..97898f2 100644 (file)
@@ -1,4 +1,4 @@
 require klibc_1.5.15.inc
-PR = "r4"
+PR = "r5"
 
 KLIBC_FETCHDIR = "Testing"
index f6f5b87..6615ac2 100644 (file)
@@ -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() {