aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-09-02 16:12:20 -0700
committerTom Rini <tom_rini@mentor.com>2010-09-02 16:12:20 -0700
commita5ee14715405dd220a3ca4afa567134158dae4be (patch)
treed1ef1b64ad1bcd39c39b593d56b1daec420cfdaa
parent261676fed0818a60a6f5b4dc781235cc6c49ba86 (diff)
downloadopenembedded-a5ee14715405dd220a3ca4afa567134158dae4be.zip
openembedded-a5ee14715405dd220a3ca4afa567134158dae4be.tar.gz
openembedded-a5ee14715405dd220a3ca4afa567134158dae4be.tar.bz2
perl: Use CCLD not ${TARGET_SYS}-gcc in do_compile
It's possible that CCLD != ${TARGET_SYS}-gcc once everything is evaluated and CCLD is for when you're using CC for LD. Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/perl/perl_5.10.1.bb4
-rw-r--r--recipes/perl/perl_5.8.8.bb4
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
index a09c59d..c375512 100644
--- a/recipes/perl/perl_5.10.1.bb
+++ b/recipes/perl/perl_5.10.1.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r9"
+PR = "r10"
# Not tested enough
DEFAULT_PREFERENCE = "-1"
@@ -104,7 +104,7 @@ do_compile() {
sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL
fi
cd Cross
- oe_runmake perl LD="${TARGET_SYS}-gcc"
+ oe_runmake perl LD="${CCLD}"
}
do_install() {
oe_runmake install
diff --git a/recipes/perl/perl_5.8.8.bb b/recipes/perl/perl_5.8.8.bb
index c8ad895..f106e17 100644
--- a/recipes/perl/perl_5.8.8.bb
+++ b/recipes/perl/perl_5.8.8.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r35"
+PR = "r36"
# Major part of version
PVM = "5.8"
@@ -108,7 +108,7 @@ do_compile() {
-e 's|$Config{cppflags}||' ext/Errno/Errno_pm.PL
fi
cd Cross
- oe_runmake perl LD="${TARGET_SYS}-gcc"
+ oe_runmake perl LD="${CCLD}"
}
do_install() {
oe_runmake install