summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/files/gcc.check_path_validity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/gcc/files/gcc.check_path_validity.patch')
-rw-r--r--recipes-devtools/gcc/files/gcc.check_path_validity.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/files/gcc.check_path_validity.patch b/recipes-devtools/gcc/files/gcc.check_path_validity.patch
new file mode 100644
index 0000000..5d70a39
--- /dev/null
+++ b/recipes-devtools/gcc/files/gcc.check_path_validity.patch
@@ -0,0 +1,12 @@
1--- gcc-4_6-branch/gcc/Makefile.in.orig 2012-03-06 01:10:15.277196930 -0600
2+++ gcc-4_6-branch/gcc/Makefile.in 2012-03-06 01:10:54.083378912 -0600
3@@ -4170,6 +4170,9 @@
4 else \
5 set -e; for ml in `cat fixinc_list`; do \
6 sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
7+ if test "x$${sysroot_headers_suffix}" = "x"; then \
8+ continue; \
9+ fi; \
10 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
11 fix_dir=include-fixed$${multi_dir}; \
12 if ! $(inhibit_libc) && test ! -d ${SYSTEM_HEADER_DIR}; then \