[PATCH] Better CFLAGS handling for recent ARM platforms.

Jonathan Morton jmorton at sd070.hel.movial.fi
Mon Jun 15 06:02:04 PDT 2009


---
 configure.ac |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 768f6b7..c410e62 100644
--- a/configure.ac
+++ b/configure.ac
@@ -327,7 +327,7 @@ AM_CONDITIONAL(USE_VMX, test $have_vmx_intrinsics = yes)
 
 dnl ===========================================================================
 dnl Check for ARM SIMD instructions
-ARM_SIMD_CFLAGS=""
+ARM_SIMD_CFLAGS="-march=armv6"
 
 have_arm_simd=no
 AC_MSG_CHECKING(whether to use ARM SIMD assembler)
@@ -366,7 +366,7 @@ AM_CONDITIONAL(USE_ARM_SIMD, test $have_arm_simd = yes)
 
 dnl ==========================================================================
 dnl Check for ARM NEON instructions
-ARM_NEON_CFLAGS="-mfpu=neon -mfloat-abi=softfp"
+ARM_NEON_CFLAGS="-mfpu=neon"
 
 have_arm_neon=no
 AC_MSG_CHECKING(whether to use ARM NEON)
@@ -470,8 +470,6 @@ AC_SUBST(GTK_LIBS)
 AC_SUBST(DEP_CFLAGS)
 AC_SUBST(DEP_LIBS)
 
-
-		  
 AC_OUTPUT([pixman-1.pc
            pixman-1-uninstalled.pc
            Makefile
-- 
1.5.6.3


--=-by6jJzXI0j1mDgcsBTPS
Content-Disposition: attachment; filename="0016-Add-RVCT-support-for-straight-blitter.patch"
Content-Type: text/x-patch; name="0016-Add-RVCT-support-for-straight-blitter.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



More information about the cairo mailing list