From 9837465fd9a5d4e7280d4c79c41d2d9a9c8f71c0 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Wed, 24 Jun 2009 01:30:34 +0300 Subject: [PATCH] Use -mcpu instead of -march for ARM SIMD runtime autodetection Option -mcpu has higher priority than -march with the current versions of gcc and that's why it is better to use. There is no particular reason why 'arm1136j-s' is used in this patch, it could be any armv6 compatible core. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8ed9149..b5ea19c 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="-march=armv6" +ARM_SIMD_CFLAGS="-mcpu=arm1136j-s" have_arm_simd=no AC_MSG_CHECKING(whether to use ARM SIMD assembler) -- 2.7.4