binutils-2.20.1: Update libtool files so cross native builds are correct.
authorKhem Raj <raj.khem@gmail.com>
Tue, 15 Jun 2010 14:15:06 +0000 (07:15 -0700)
committerKhem Raj <raj.khem@gmail.com>
Tue, 15 Jun 2010 14:22:25 +0000 (07:22 -0700)
commit9b54b9315e2507b3fa835449e9a5e8aa31a369ff
treed7f65e45a3fc847624f57253aaf23e157211d1b8
parent45000bb54a19aa1d70fea4b91469eaf8eb1cb2d1
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>
recipes/binutils/binutils-2.20.1/libtool-update.patch [new file with mode: 0644]
recipes/binutils/binutils_2.20.1.bb