mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 23:50:37 +02:00
fd8969afc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
39 lines
1.7 KiB
Diff
39 lines
1.7 KiB
Diff
http://sourceware.org/bugzilla/show_bug.cgi?id=5442
|
|
|
|
diff -ruN glibc-2.6.1-old/configure.in glibc-2.6.1-new/configure.in
|
|
--- glibc-2.6.1-old/configure.in 2007-03-20 13:11:23.000000000 +0100
|
|
+++ glibc-2.6.1-new/configure.in 2009-01-21 01:09:16.000000000 +0100
|
|
@@ -911,8 +911,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 && 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>&AS_MESSAGE_LOG_FD` &&
|
|
diff -ruN glibc-2.6.1-old/configure glibc-2.6.1-new/configure
|
|
--- glibc-2.6.1-old/configure 2007-07-31 15:46:12.000000000 +0200
|
|
+++ glibc-2.6.1-new/configure 2009-01-21 01:09:13.000000000 +0100
|
|
@@ -4562,8 +4562,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` &&
|