patches/gcc/4.4.4/300-uclibc-conf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 12 23:47:24 2010 +0200 (2010-10-12)
branch1.8
changeset 2151 ee9ce2595560
parent 1948 d341be24dc68
permissions -rw-r--r--
cc/gcc: fix 4.4.4 patchset

Most patches contained two spurious first lines.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from ada9128c98b89569b54aefe9b7a4b0bd2bd20023)
     1 diff -durN gcc-4.4.4.orig/contrib/regression/objs-gcc.sh gcc-4.4.4/contrib/regression/objs-gcc.sh
     2 --- gcc-4.4.4.orig/contrib/regression/objs-gcc.sh	2009-04-10 01:23:07.000000000 +0200
     3 +++ gcc-4.4.4/contrib/regression/objs-gcc.sh	2010-05-16 19:36:36.000000000 +0200
     4 @@ -106,6 +106,10 @@
     5   then
     6    make all-gdb all-dejagnu all-ld || exit 1
     7    make install-gdb install-dejagnu install-ld || exit 1
     8 +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
     9 + then
    10 +  make all-gdb all-dejagnu all-ld || exit 1
    11 +  make install-gdb install-dejagnu install-ld || exit 1
    12  elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
    13    make bootstrap || exit 1
    14    make install || exit 1
    15 diff -durN gcc-4.4.4.orig/libjava/classpath/ltconfig gcc-4.4.4/libjava/classpath/ltconfig
    16 --- gcc-4.4.4.orig/libjava/classpath/ltconfig	2007-06-04 01:18:43.000000000 +0200
    17 +++ gcc-4.4.4/libjava/classpath/ltconfig	2010-05-16 19:36:36.000000000 +0200
    18 @@ -603,7 +603,7 @@
    19  
    20  # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    21  case $host_os in
    22 -linux-gnu*) ;;
    23 +linux-gnu*|linux-uclibc*) ;;
    24  linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    25  esac
    26  
    27 @@ -1251,7 +1251,7 @@
    28    ;;
    29  
    30  # This must be Linux ELF.
    31 -linux-gnu*)
    32 +linux*)
    33    version_type=linux
    34    need_lib_prefix=no
    35    need_version=no