perl.inc: use ${TARGET_SYS}, otherwise people with TARGET_VENDOR set can't build...
authorKoen Kooi <koen@openembedded.org>
Sat, 7 Apr 2007 18:29:52 +0000 (18:29 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 7 Apr 2007 18:29:52 +0000 (18:29 +0000)
packages/perl/perl.inc

index cda260e..9e20ae6 100644 (file)
@@ -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