diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-17 22:40:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:51 +0100 |
commit | 70505879094cb83cf788ec791d234e366f2bbb7f (patch) | |
tree | 71b5c20baaf333d2f21bff3cc2073fb64c1db453 /meta/recipes-devtools/perl/perl-native_5.12.3.bb | |
parent | 77556142cd280129a5ba04851de683f5c0ee6fde (diff) | |
download | poky-70505879094cb83cf788ec791d234e366f2bbb7f.tar.gz |
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)
(From OE-Core rev: 9260c1b9d04a88d15ab5376c7cd56f381fe3e53b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-native_5.12.3.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.12.3.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.12.3.bb b/meta/recipes-devtools/perl/perl-native_5.12.3.bb index 0b0c9491c6..0476bdf5c4 100644 --- a/meta/recipes-devtools/perl/perl-native_5.12.3.bb +++ b/meta/recipes-devtools/perl/perl-native_5.12.3.bb | |||
@@ -4,22 +4,22 @@ SECTION = "libs" | |||
4 | LICENSE = "Artistic|GPL" | 4 | LICENSE = "Artistic|GPL" |
5 | LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ | 5 | LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ |
6 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" | 6 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" |
7 | PR = "r0" | 7 | PR = "r1" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ | 9 | LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ |
10 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" | 10 | file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" |
11 | 11 | ||
12 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | 12 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ |
13 | file://Configure-multilib.patch;patch=1 \ | 13 | file://Configure-multilib.patch \ |
14 | file://perl-configpm-switch.patch;patch=1 \ | 14 | file://perl-configpm-switch.patch \ |
15 | file://parallel_build_fix_1.patch \ | 15 | file://parallel_build_fix_1.patch \ |
16 | file://parallel_build_fix_2.patch \ | 16 | file://parallel_build_fix_2.patch \ |
17 | file://parallel_build_fix_3.patch \ | 17 | file://parallel_build_fix_3.patch \ |
18 | file://parallel_build_fix_4.patch \ | 18 | file://parallel_build_fix_4.patch \ |
19 | file://parallel_build_fix_5.patch \ | 19 | file://parallel_build_fix_5.patch \ |
20 | file://parallel_build_fix_6.patch \ | 20 | file://parallel_build_fix_6.patch \ |
21 | file://native-nopacklist.patch;patch=1 \ | 21 | file://native-nopacklist.patch \ |
22 | file://native-perlinc.patch;patch=1" | 22 | file://native-perlinc.patch" |
23 | 23 | ||
24 | SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" | 24 | SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" |
25 | SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f" | 25 | SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f" |