From: Jamie Lenehan Date: Thu, 5 Apr 2007 06:52:55 +0000 (+0000) Subject: perl 5.8.7: Simplify the addition of patches to support gcc for linking and X-Git-Tag: Release-2010-05/1~8868^2~771^2^2~7^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff751b50feb7397a9909f1a684008fa17423223;p=openembedded.git perl 5.8.7: Simplify the addition of patches to support gcc for linking and using PIC for compiling shared libraries. --- diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb index 69b5784f38..874c95a79c 100644 --- a/packages/perl/perl_5.8.7.bb +++ b/packages/perl/perl_5.8.7.bb @@ -16,14 +16,13 @@ SRC_URI += "file://config.sh-armeb-linux \ file://config.sh-sh3-linux \ file://config.sh-sh4-linux" -# Patches for sh3/sh4, use gcc to link and override generaet.sh to -# use PIC mode for compiling shared library objects. -SRC_URI_append_sh4 += "file://override-generate-sh.patch;patch=1" -SRC_URI_append_sh4 += "file://makefile-usegcc-to-link.patch;patch=1" -SRC_URI_append_sh3 += "file://override-generate-sh.patch;patch=1" -SRC_URI_append_sh3 += "file://makefile-usegcc-to-link.patch;patch=1" -SRC_URI_append_powerpc += "file://override-generate-sh.patch;patch=1" -SRC_URI_append_powerpc += "file://makefile-usegcc-to-link.patch;patch=1" +# Use gcc to link and use PIC mode for compiling shared libs +GCCLINK_SRC = "file://override-generate-sh.patch;patch=1 \ + file://makefile-usegcc-to-link.patch;patch=1" + +SRC_URI_append_sh4 += " ${GCCLINK_SRC}" +SRC_URI_append_sh3 += " ${GCCLINK_SRC}" +SRC_URI_append_powerpc += " ${GCCLINK_SRC}" PARALLEL_MAKE = ""