From 1b51103c169b1c6204e71506dd2a12cab08b98c8 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sat, 15 Oct 2011 10:52:09 +0000 Subject: [PATCH] perl: initial import (verified compilation) --- perl/Pkgfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \ -- 2.26.2