From: Victor Martinez <pitillo@ono.com>
Date: Sat, 15 Oct 2011 10:52:09 +0000 (+0000)
Subject: perl: initial import (verified compilation)
X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1b51103c169b1c6204e71506dd2a12cab08b98c8;p=crossrootfs.git

perl: initial import (verified compilation)
---

diff --git a/perl/Pkgfile b/perl/Pkgfile
index ed7fb6b..4653141 100644
--- a/perl/Pkgfile
+++ b/perl/Pkgfile
@@ -15,7 +15,10 @@ build() {
   patch -p1 -i $SRC/$name-$version-cross_compile-1.patch
 
   # Use of safe cflags to build perl-cross on the host, and don't use msoft-float
-  export CFLAGS=${CFLAGS/-msoft-float/}
+  export CFLAGS=${CFLAGS/-march=armv7-a -mfpu=vfpv3-d16 -mthumb/}
+
+  # Removed references to softfp
+  sed "s|\-msoft\-float||g" -i Cross/Makefile
 
   # avoid to use target generate_uudmap binary
   sed -i Makefile.SH \