diff options
| author | Kevin Tian <kevin.tian@intel.com> | 2011-01-05 14:50:33 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-07 11:09:48 +0000 |
| commit | 16fa641f991a0ea44833b7c133c5863bf1476889 (patch) | |
| tree | 8ee348f4be94d333e39057794f649467cf484ee5 /meta | |
| parent | 97789a160ad21ccc614f976fa5e2b306d816aabf (diff) | |
| download | poky-16fa641f991a0ea44833b7c133c5863bf1476889.tar.gz | |
perl: use ${CCLD} instead of its own LD definition
perl explicitly assigns LD to a bogus value:
oe_runmake perl LD="${TARGET_SYS}-gcc"
which breaks sstate-based build when toolchain is not generated locally,
due to lacking of --sysroot option. Use ${CCLD} instead to make this
relocatable.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.8.8.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.8.8.bb b/meta/recipes-devtools/perl/perl_5.8.8.bb index 8e2f0c0af7..5cd4d4fe2f 100644 --- a/meta/recipes-devtools/perl/perl_5.8.8.bb +++ b/meta/recipes-devtools/perl/perl_5.8.8.bb | |||
| @@ -11,7 +11,7 @@ PRIORITY = "optional" | |||
| 11 | # We need gnugrep (for -I) | 11 | # We need gnugrep (for -I) |
| 12 | DEPENDS = "virtual/db perl-native grep-native" | 12 | DEPENDS = "virtual/db perl-native grep-native" |
| 13 | DEPENDS += "gdbm" | 13 | DEPENDS += "gdbm" |
| 14 | PR = "r21" | 14 | PR = "r22" |
| 15 | 15 | ||
| 16 | # Major part of version | 16 | # Major part of version |
| 17 | PVM = "5.8" | 17 | PVM = "5.8" |
| @@ -114,7 +114,7 @@ do_compile() { | |||
| 114 | sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL | 114 | sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL |
| 115 | fi | 115 | fi |
| 116 | cd Cross | 116 | cd Cross |
| 117 | oe_runmake perl LD="${TARGET_SYS}-gcc" | 117 | oe_runmake perl LD="${CCLD}" |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | do_install() { | 120 | do_install() { |
