gcc: update gcc-4.5-linaro to 4.5-2011.08
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / linaro / 100-uclibc-conf.patch
1 --- a/contrib/regression/objs-gcc.sh
2 +++ b/contrib/regression/objs-gcc.sh
3 @@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
4 then
5 make all-gdb all-dejagnu all-ld || exit 1
6 make install-gdb install-dejagnu install-ld || exit 1
7 +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
8 + then
9 + make all-gdb all-dejagnu all-ld || exit 1
10 + make install-gdb install-dejagnu install-ld || exit 1
11 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
12 make bootstrap || exit 1
13 make install || exit 1
14 --- a/libjava/classpath/ltconfig
15 +++ b/libjava/classpath/ltconfig
16 @@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
17
18 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
19 case $host_os in
20 -linux-gnu*) ;;
21 +linux-gnu*|linux-uclibc*) ;;
22 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
23 esac
24
25 @@ -1251,7 +1251,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
26 ;;
27
28 # This must be Linux ELF.
29 -linux-gnu*)
30 +linux*)
31 version_type=linux
32 need_lib_prefix=no
33 need_version=no