source: patches/glibc-2.7-include_fixed-1.patch@ 33bdb0d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 33bdb0d was 6a043e2, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Upgrade to GCC 4.3.1.

  • Property mode set to 100644
File size: 1.8 KB
  • configure.in

    Submitted By: Joe Ciccone <jciccone@gmail.com>
    Date: 2008-08-24
    Initial Package Version: 2.7
    Upstream Status: Unknown
    Origin: Joe Ciccone
    Description: Glibc needs to look in GCC include-fixed dir for headers.
    
    diff -Naur glibc-2.7.orig/configure.in glibc-2.7/configure.in
    old new  
    912912# thing on a system that doesn't need fixincludes.  (Not presently a problem.)
    913913if test -n "$sysheaders"; then
    914914  ccheaders=`$CC -print-file-name=include`
    915   SYSINCLUDES="-nostdinc -isystem $ccheaders \
     915  ccheaders_fixed=`$CC -print-file-name=include-fixed`
     916  if test "$ccheaders_fixed" = "include-fixed"; then
     917    ccheaders_fixed=""
     918  else
     919    ccheaders_fixed="-isystem $ccheaders_fixed"
     920  fi
     921  SYSINCLUDES="-nostdinc -isystem $ccheaders $ccheaders_fixed \
    916922-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
    917923  if test -n "$CXX"; then
    918924    cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
  • configure

    diff -Naur glibc-2.7.orig/configure glibc-2.7/configure
    old new  
    50635063# thing on a system that doesn't need fixincludes.  (Not presently a problem.)
    50645064if test -n "$sysheaders"; then
    50655065  ccheaders=`$CC -print-file-name=include`
    5066   SYSINCLUDES="-nostdinc -isystem $ccheaders \
     5066  ccheaders_fixed=`$CC -print-file-name=include-fixed`
     5067  if test "$ccheaders_fixed" = "include-fixed"; then
     5068    ccheaders_fixed=""
     5069  else
     5070    ccheaders_fixed="-isystem $ccheaders_fixed"
     5071  fi
     5072  SYSINCLUDES="-nostdinc -isystem $ccheaders $ccheaders_fixed \
    50675073-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
    50685074  if test -n "$CXX"; then
    50695075    cxxversion=`$CXX -dumpversion 2>&5` &&
Note: See TracBrowser for help on using the repository browser.