add binutils 2.19 (patch from #4367)
[openwrt/openwrt.git] / toolchain / binutils / patches / 2.19 / 120-sh-conf.patch
1 diff -rdup binutils-2.18.50.0.9.old/configure binutils-2.18.50.0.9/configure
2 --- binutils-2.18.50.0.9.old/configure 2008-08-23 17:36:13.000000000 +0200
3 +++ binutils-2.18.50.0.9/configure 2008-10-14 14:25:22.000000000 +0200
4 @@ -2281,7 +2281,7 @@ case "${target}" in
5 am33_2.0-*-linux*)
6 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7 ;;
8 - sh-*-linux*)
9 + sh*-*-linux*)
10 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
11 ;;
12 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
13 @@ -2606,7 +2606,7 @@ case "${target}" in
14 romp-*-*)
15 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
16 ;;
17 - sh-*-* | sh64-*-*)
18 + sh*-*-* | sh64-*-*)
19 case "${host}" in
20 i[3456789]86-*-vsta) ;; # don't add gprof back in
21 i[3456789]86-*-go32*) ;; # don't add gprof back in
22 diff -rdup binutils-2.18.50.0.9.old/configure.ac binutils-2.18.50.0.9/configure.ac
23 --- binutils-2.18.50.0.9.old/configure.ac 2008-08-23 17:36:13.000000000 +0200
24 +++ binutils-2.18.50.0.9/configure.ac 2008-10-14 14:25:11.000000000 +0200
25 @@ -530,7 +530,7 @@ case "${target}" in
26 am33_2.0-*-linux*)
27 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
28 ;;
29 - sh-*-linux*)
30 + sh*-*-linux*)
31 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
32 ;;
33 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
34 @@ -855,7 +855,7 @@ case "${target}" in
35 romp-*-*)
36 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
37 ;;
38 - sh-*-* | sh64-*-*)
39 + sh*-*-* | sh64-*-*)
40 case "${host}" in
41 i[[3456789]]86-*-vsta) ;; # don't add gprof back in
42 i[[3456789]]86-*-go32*) ;; # don't add gprof back in