gcc43.patch 809 B

123456789101112131415161718
  1. diff -Nur glibc-2.7.orig/configure glibc-2.7/configure
  2. --- glibc-2.7.orig/configure 2007-10-18 13:22:23.000000000 +0200
  3. +++ glibc-2.7/configure 2008-11-29 23:48:57.461566623 +0100
  4. @@ -5062,8 +5062,12 @@
  5. # header directory and add that to the list. NOTE: Only does the right
  6. # thing on a system that doesn't need fixincludes. (Not presently a problem.)
  7. if test -n "$sysheaders"; then
  8. - ccheaders=`$CC -print-file-name=include`
  9. - SYSINCLUDES="-nostdinc -isystem $ccheaders \
  10. + SYSINCLUDES=-nostdinc
  11. + for d in include include-fixed; do
  12. + i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" &&
  13. + SYSINCLUDES="$SYSINCLUDES -isystem $i"
  14. + done
  15. + SYSINCLUDES="$SYSINCLUDES \
  16. -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
  17. if test -n "$CXX"; then
  18. cxxversion=`$CXX -dumpversion 2>&5` &&