patches/gcc/4.4.3/300-uclibc-conf.patch
changeset 1752 2a0656d9c905
parent 1611 e2516bba8fe5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.4.3/300-uclibc-conf.patch	Sun Jan 24 22:53:51 2010 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +diff -durN gcc-4.4.0.orig/contrib/regression/objs-gcc.sh gcc-4.4.0/contrib/regression/objs-gcc.sh
     1.5 +--- gcc-4.4.0.orig/contrib/regression/objs-gcc.sh	2009-04-10 01:23:07.000000000 +0200
     1.6 ++++ gcc-4.4.0/contrib/regression/objs-gcc.sh	2009-05-27 21:38:53.000000000 +0200
     1.7 +@@ -106,6 +106,10 @@
     1.8 +  then
     1.9 +   make all-gdb all-dejagnu all-ld || exit 1
    1.10 +   make install-gdb install-dejagnu install-ld || exit 1
    1.11 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
    1.12 ++ then
    1.13 ++  make all-gdb all-dejagnu all-ld || exit 1
    1.14 ++  make install-gdb install-dejagnu install-ld || exit 1
    1.15 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
    1.16 +   make bootstrap || exit 1
    1.17 +   make install || exit 1
    1.18 +diff -durN gcc-4.4.0.orig/libjava/classpath/ltconfig gcc-4.4.0/libjava/classpath/ltconfig
    1.19 +--- gcc-4.4.0.orig/libjava/classpath/ltconfig	2007-06-04 01:18:43.000000000 +0200
    1.20 ++++ gcc-4.4.0/libjava/classpath/ltconfig	2009-05-27 21:38:53.000000000 +0200
    1.21 +@@ -603,7 +603,7 @@
    1.22 + 
    1.23 + # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    1.24 + case $host_os in
    1.25 +-linux-gnu*) ;;
    1.26 ++linux-gnu*|linux-uclibc*) ;;
    1.27 + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    1.28 + esac
    1.29 + 
    1.30 +@@ -1251,7 +1251,7 @@
    1.31 +   ;;
    1.32 + 
    1.33 + # This must be Linux ELF.
    1.34 +-linux-gnu*)
    1.35 ++linux*)
    1.36 +   version_type=linux
    1.37 +   need_lib_prefix=no
    1.38 +   need_version=no