summaryrefslogtreecommitdiff
path: root/classes/cpan.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cpan.bbclass')
-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
}