[6a043e2] | 1 | Submitted By: Joe Ciccone <jciccone@gmail.com>
|
---|
| 2 | Date: 2008-08-24
|
---|
| 3 | Initial Package Version: 2.7
|
---|
| 4 | Upstream Status: Unknown
|
---|
| 5 | Origin: Joe Ciccone
|
---|
| 6 | Description: Glibc needs to look in GCC include-fixed dir for headers.
|
---|
| 7 |
|
---|
| 8 | diff -Naur glibc-2.7.orig/configure.in glibc-2.7/configure.in
|
---|
| 9 | --- glibc-2.7.orig/configure.in 2007-06-07 23:16:36.000000000 -0400
|
---|
| 10 | +++ glibc-2.7/configure.in 2008-08-26 20:16:35.000000000 -0400
|
---|
| 11 | @@ -912,7 +912,13 @@
|
---|
| 12 | # thing on a system that doesn't need fixincludes. (Not presently a problem.)
|
---|
| 13 | if test -n "$sysheaders"; then
|
---|
| 14 | ccheaders=`$CC -print-file-name=include`
|
---|
| 15 | - SYSINCLUDES="-nostdinc -isystem $ccheaders \
|
---|
| 16 | + ccheaders_fixed=`$CC -print-file-name=include-fixed`
|
---|
| 17 | + if test "$ccheaders_fixed" = "include-fixed"; then
|
---|
| 18 | + ccheaders_fixed=""
|
---|
| 19 | + else
|
---|
| 20 | + ccheaders_fixed="-isystem $ccheaders_fixed"
|
---|
| 21 | + fi
|
---|
| 22 | + SYSINCLUDES="-nostdinc -isystem $ccheaders $ccheaders_fixed \
|
---|
| 23 | -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
|
---|
| 24 | if test -n "$CXX"; then
|
---|
| 25 | cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
|
---|
| 26 | diff -Naur glibc-2.7.orig/configure glibc-2.7/configure
|
---|
| 27 | --- glibc-2.7.orig/configure 2007-10-18 07:22:23.000000000 -0400
|
---|
| 28 | +++ glibc-2.7/configure 2008-08-26 20:16:41.000000000 -0400
|
---|
| 29 | @@ -5063,7 +5063,13 @@
|
---|
| 30 | # thing on a system that doesn't need fixincludes. (Not presently a problem.)
|
---|
| 31 | if test -n "$sysheaders"; then
|
---|
| 32 | ccheaders=`$CC -print-file-name=include`
|
---|
| 33 | - SYSINCLUDES="-nostdinc -isystem $ccheaders \
|
---|
| 34 | + ccheaders_fixed=`$CC -print-file-name=include-fixed`
|
---|
| 35 | + if test "$ccheaders_fixed" = "include-fixed"; then
|
---|
| 36 | + ccheaders_fixed=""
|
---|
| 37 | + else
|
---|
| 38 | + ccheaders_fixed="-isystem $ccheaders_fixed"
|
---|
| 39 | + fi
|
---|
| 40 | + SYSINCLUDES="-nostdinc -isystem $ccheaders $ccheaders_fixed \
|
---|
| 41 | -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
|
---|
| 42 | if test -n "$CXX"; then
|
---|
| 43 | cxxversion=`$CXX -dumpversion 2>&5` &&
|
---|