]> code.ossystems Code Review - openembedded-core.git/commit
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
authorKhem Raj <raj.khem@gmail.com>
Fri, 18 Mar 2011 05:40:15 +0000 (22:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 May 2011 23:53:52 +0000 (00:53 +0100)
commit9260c1b9d04a88d15ab5376c7cd56f381fe3e53b
tree3d89f2f743eb1d421feeab38b3a70b291593b4d8
parenta539f1f00441dbb29af215082ba0c7c78fb0eaa1
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha

Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
(From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further tweaks to Configure-multilib.patch for x86_64 vs x86
from Gary Thomas

Cc: gary@mlbassoc.com
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/perl/files/Configure-multilib.patch [new file with mode: 0644]
meta/recipes-devtools/perl/perl-native_5.12.3.bb