summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-04-01 10:50:27 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-04-01 10:50:27 +0000
commit3cb20b35af93a7b0df80cd0ae87704c73a8c57dc (patch)
treefbbc98c1b5827f23f7f490a6e891603818e95c1a /classes
parent0c26aba1747c6ab2b52020baa8a82c6de095ecb0 (diff)
packages/perl/perl_5.8.7.bb: A set of patches to make perl usable on powerpc targets.
Thanks to Jamie Lenahan for the help
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 74bbebf882..a566f0fa42 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -26,6 +26,12 @@ cpan_do_compile () {
if test ${TARGET_ARCH} = "sh3" -o ${TARGET_ARCH} = "sh4"; then
OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
fi
+
+ if test ${TARGET_ARCH} = "powerpc" ; then
+ OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
+ fi
+
+
oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" $OPTIONS
}