summaryrefslogtreecommitdiff
path: root/recipes/klibc/klibc-1.5.15+1.5.16/isystem.patch
blob: 2ec40c16c23fffd3456bf53dbb2373e5935497c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);