summaryrefslogtreecommitdiff
path: root/meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-06-11 18:06:27 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-11 18:06:27 +0100
commit71d24f5d1a924e378637bcbf2bb53273342d3da6 (patch)
tree629b5cfd5b2cf6997671ed0fe0c30b6305242d01 /meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
parentd9062199b4ab4fcd7fd9adf16d8c0f3bbbbc9108 (diff)
parentfc2e5e08073fb9a2d83bd7a2e093134d08d68031 (diff)
downloadopenembedded-core-71d24f5d1a924e378637bcbf2bb53273342d3da6.tar.gz
openembedded-core-71d24f5d1a924e378637bcbf2bb53273342d3da6.tar.bz2
openembedded-core-71d24f5d1a924e378637bcbf2bb53273342d3da6.zip
Merge branch 'distro/master' of ssh://git.pokylinux.org/poky-contrib
Diffstat (limited to 'meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch')
-rw-r--r--meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch b/meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
new file mode 100644
index 0000000000..8de04e0fe0
--- /dev/null
+++ b/meta/packages/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
@@ -0,0 +1,34 @@
+--- binutils-2.18.orig/configure
++++ binutils-2.18/configure
+@@ -2206,7 +2206,7 @@
+ am33_2.0-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+- sh-*-linux*)
++ sh*-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+@@ -2504,7 +2504,7 @@
+ romp-*-*)
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+ ;;
+- sh-*-* | sh64-*-*)
++ sh*-*-* | sh64-*-*)
+ case "${host}" in
+ i[3456789]86-*-vsta) ;; # don't add gprof back in
+ i[3456789]86-*-go32*) ;; # don't add gprof back in
+--- binutils-2.18.orig/gprof/configure
++++ binutils-2.18/gprof/configure
+@@ -4124,6 +4124,11 @@
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
++linux-uclibc*)
++ lt_cv_deplibs_check_method=pass_all
++ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
++ ;;
++
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'