summaryrefslogtreecommitdiff
path: root/recipes/binutils/binutils_2.20.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-06-15 07:15:06 -0700
committerKhem Raj <raj.khem@gmail.com>2010-06-15 07:22:25 -0700
commit9b54b9315e2507b3fa835449e9a5e8aa31a369ff (patch)
treed7f65e45a3fc847624f57253aaf23e157211d1b8 /recipes/binutils/binutils_2.20.1.bb
parent45000bb54a19aa1d70fea4b91469eaf8eb1cb2d1 (diff)
binutils-2.20.1: Update libtool files so cross native builds are correct.
* Currently libtool adds -L/usr/lib to the link command which directs linker to pull from /usr/lib. Many distro's dont have stuff which is conflicting in /usr/lib with the target libraries but some do. Like archlinux has libgcc_s.so.1 in /usr/lib due to the above -L it gets picked over the target libgcc and the link command fails. -L/usr/lib is generated by libtool when it sees -rpath /usr/lib which may be not the right think when doing cross native builds. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/binutils/binutils_2.20.1.bb')
-rw-r--r--recipes/binutils/binutils_2.20.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/binutils/binutils_2.20.1.bb b/recipes/binutils/binutils_2.20.1.bb
index a6b564fea7..2b235b927e 100644
--- a/recipes/binutils/binutils_2.20.1.bb
+++ b/recipes/binutils/binutils_2.20.1.bb
@@ -1,7 +1,7 @@
require binutils.inc
LICENSE = "GPLv3"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
SRC_URI = "\
${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \
@@ -12,6 +12,7 @@ SRC_URI = "\
file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
file://binutils-uclibc-gas-needs-libm.patch \
file://binutils-x86_64_i386_biarch.patch \
+ file://libtool-update.patch \
"
SRC_URI[tarball.sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8"