summaryrefslogtreecommitdiffstats
path: root/recipes/klibc/klibc-1.5.20/isystem.patch
blob: ccdf9ed92d39adf41b5744a4d344dab1b4b6972b (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);