[toolchain] fix powerpc toolchain build failure on x86_64 hosts
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.2.4 / 103-uclibc-conf-noupstream.patch
1 Index: gcc-4.2.3/gcc/config.gcc
2 ===================================================================
3 --- gcc-4.2.3.orig/gcc/config.gcc       2007-12-27 10:45:20.000000000 +0100
4 +++ gcc-4.2.3/gcc/config.gcc    2008-05-21 13:45:43.333288320 +0200
5 @@ -1967,7 +1967,7 @@
6          ;;
7  sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
8  sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
9 -  sh-*-linux* | sh[346lbe]*-*-linux* | \
10 +  sh*-*-linux* | sh[346lbe]*-*-linux* | \
11    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
12     sh64-*-netbsd* | sh64l*-*-netbsd*)
13         tmake_file="${tmake_file} sh/t-sh sh/t-elf"