Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[vuplus_openembedded] / packages / mamona / binutils-noemu-2.18 / binutils-uclibc-100-uclibc-conf.patch
1 --- binutils-2.18.orig/configure
2 +++ binutils-2.18/configure
3 @@ -2206,7 +2206,7 @@
4    am33_2.0-*-linux*)
5      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
6      ;;
7 -  sh-*-linux*)
8 +  sh*-*-linux*)
9      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
10      ;;
11    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
12 @@ -2504,7 +2504,7 @@
13    romp-*-*)
14      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
15      ;;
16 -  sh-*-* | sh64-*-*)
17 +  sh*-*-* | sh64-*-*)
18      case "${host}" in
19        i[3456789]86-*-vsta) ;; # don't add gprof back in
20        i[3456789]86-*-go32*) ;; # don't add gprof back in
21 --- binutils-2.18.orig/gprof/configure
22 +++ binutils-2.18/gprof/configure
23 @@ -4124,6 +4124,11 @@
24    lt_cv_deplibs_check_method=pass_all
25    ;;
26  
27 +linux-uclibc*)
28 +  lt_cv_deplibs_check_method=pass_all
29 +  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
30 +  ;;
31 +
32  netbsd*)
33    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'