diff options
Diffstat (limited to 'packages/perl/perl.inc')
-rw-r--r-- | packages/perl/perl.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc index 4f42d78ded..f063d0e403 100644 --- a/packages/perl/perl.inc +++ b/packages/perl/perl.inc @@ -46,6 +46,14 @@ do_compile() { if test ${TARGET_ARCH} = "sh3" -o ${TARGET_ARCH} = "sh4"; then OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc" fi + + # You must use gcc to link on powerpc also + OPTIONS="" + if test ${TARGET_ARCH} = "powerpc" ; then + OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc" + fi + + oe_runmake perl $OPTIONS } |