name=perl
version=5.10.0
-release=2
+release=3
source=(http://www.cpan.org/src/5.0/$name-$version.tar.gz \
$name-$version-cross_compile-1.patch)
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="-O2 -pipe"
+ 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 \