# DIY Linux Patch Date: 2008-02-22 Author: Refer Origin. Origin: http://sourceware.org/ml/glibc-cvs/2008-q1/msg00110.html Maker: Greg Schafer Upstream Status: Refer Origin. Description: Allow Glibc to build with GCC-4.3 diff -Naur glibc-2.7.orig/configure glibc-2.7/configure --- glibc-2.7.orig/configure 2007-10-18 11:22:23.000000000 +0000 +++ glibc-2.7/configure 2008-02-18 01:19:07.000000000 +0000 @@ -5062,8 +5062,12 @@ # header directory and add that to the list. NOTE: Only does the right # thing on a system that doesn't need fixincludes. (Not presently a problem.) if test -n "$sysheaders"; then - ccheaders=`$CC -print-file-name=include` - SYSINCLUDES="-nostdinc -isystem $ccheaders \ + SYSINCLUDES=-nostdinc + for d in include include-fixed; do + i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" && + SYSINCLUDES="$SYSINCLUDES -isystem $i" + done + SYSINCLUDES="$SYSINCLUDES \ -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`" if test -n "$CXX"; then cxxversion=`$CXX -dumpversion 2>&5` &&