patches/gcc/4.4.4/300-uclibc-conf.patch
branch1.7
changeset 1948 d341be24dc68
child 2148 ada9128c98b8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.4.4/300-uclibc-conf.patch	Sun May 16 19:41:53 2010 +0200
     1.3 @@ -0,0 +1,37 @@
     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 +
     1.6 +diff -durN gcc-4.4.4.orig/contrib/regression/objs-gcc.sh gcc-4.4.4/contrib/regression/objs-gcc.sh
     1.7 +--- gcc-4.4.4.orig/contrib/regression/objs-gcc.sh	2009-04-10 01:23:07.000000000 +0200
     1.8 ++++ gcc-4.4.4/contrib/regression/objs-gcc.sh	2010-05-16 19:36:36.000000000 +0200
     1.9 +@@ -106,6 +106,10 @@
    1.10 +  then
    1.11 +   make all-gdb all-dejagnu all-ld || exit 1
    1.12 +   make install-gdb install-dejagnu install-ld || exit 1
    1.13 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
    1.14 ++ then
    1.15 ++  make all-gdb all-dejagnu all-ld || exit 1
    1.16 ++  make install-gdb install-dejagnu install-ld || exit 1
    1.17 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
    1.18 +   make bootstrap || exit 1
    1.19 +   make install || exit 1
    1.20 +diff -durN gcc-4.4.4.orig/libjava/classpath/ltconfig gcc-4.4.4/libjava/classpath/ltconfig
    1.21 +--- gcc-4.4.4.orig/libjava/classpath/ltconfig	2007-06-04 01:18:43.000000000 +0200
    1.22 ++++ gcc-4.4.4/libjava/classpath/ltconfig	2010-05-16 19:36:36.000000000 +0200
    1.23 +@@ -603,7 +603,7 @@
    1.24 + 
    1.25 + # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    1.26 + case $host_os in
    1.27 +-linux-gnu*) ;;
    1.28 ++linux-gnu*|linux-uclibc*) ;;
    1.29 + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    1.30 + esac
    1.31 + 
    1.32 +@@ -1251,7 +1251,7 @@
    1.33 +   ;;
    1.34 + 
    1.35 + # This must be Linux ELF.
    1.36 +-linux-gnu*)
    1.37 ++linux*)
    1.38 +   version_type=linux
    1.39 +   need_lib_prefix=no
    1.40 +   need_version=no