CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
perl: initial import (verified compilation)
authorVictor Martinez <pitillo@ono.com>
Sat, 15 Oct 2011 10:52:09 +0000 (10:52 +0000)
committerVictor Martinez <pitillo@ono.com>
Sat, 15 Oct 2011 10:52:09 +0000 (10:52 +0000)
perl/Pkgfile

index ed7fb6b3ab31467e4c87b9c17daf9cc808a824ad..4653141f2ca7af9670d8ecbb360465a0b5fb7fe3 100644 (file)
@@ -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 \