From: Henning Heinold Date: Sun, 13 Dec 2009 23:55:36 +0000 (+0100) Subject: klibc: teach klcc what -isystem is X-Git-Tag: Release-2010-05/1~1294^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f491bf275cf8a64d05e99f2e5b0c6c5143202b4;p=openembedded.git klibc: teach klcc what -isystem is * bump PR --- 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 0000000000..2ec40c16c2 --- /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 777dcd2c3c..97898f2b8e 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 f6f5b879ef..6615ac2899 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() {