[toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi...
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.3.2 / 100-uclibc-conf.patch
1 --- gcc/gcc/config/--- gcc/contrib/regression/objs-gcc.sh
2 +++ gcc/contrib/regression/objs-gcc.sh
3 @@ -105,6 +105,10 @@
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 --- gcc/libjava/classpath/ltconfig
15 +++ gcc/libjava/classpath/ltconfig
16 @@ -603,7 +603,7 @@
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 @@
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