summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-04-07 18:29:52 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-07 18:29:52 +0000
commit7be956759ed4f9df1b3d0f038b0ec599da51aa55 (patch)
tree50ffefef4bae077c1527b01915bef6bdfb0c4c17
parentf23ae58138fa2b5ba4308de977428d81513fba2e (diff)
perl.inc: use ${TARGET_SYS}, otherwise people with TARGET_VENDOR set can't build perl
-rw-r--r--packages/perl/perl.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc
index cda260efcd..9e20ae63e6 100644
--- a/packages/perl/perl.inc
+++ b/packages/perl/perl.inc
@@ -19,11 +19,11 @@ do_compile() {
# You must use gcc to link on sh
OPTIONS=""
if test ${TARGET_ARCH} = "sh3" -o ${TARGET_ARCH} = "sh4"; then
- OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
+ OPTIONS="LD=${TARGET_SYS}-gcc"
fi
# You must use gcc to link on powerpc also
if test ${TARGET_ARCH} = "powerpc" ; then
- OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
+ OPTIONS="LD=${TARGET_SYS}-gcc"
fi
oe_runmake perl $OPTIONS