shithub: libvpx

Download patch

ref: cda5f9922205b8d4a749f0c78167eee3e528bfad
parent: a288c928aecb2d23a8045d341990468592ddb4dd
parent: 2ce4783982022d727cf08cb8438ba2729fa4fed7
author: John Koleszar <jkoleszar@google.com>
date: Thu May 2 16:54:43 EDT 2013

Merge "configure: arm: Check __ARM_PCS_VFP if the float ABI hasn't been defined"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -793,7 +793,13 @@
             check_add_asflags --defsym ARCHITECTURE=${arch_int}
             tune_cflags="-mtune="
             if [ ${tgt_isa} == "armv7" ]; then
-                [ -z "${float_abi}" ] && float_abi=softfp
+                if [ -z "${float_abi}" ]; then
+                    check_cpp <<EOF && float_abi=hard || float_abi=softfp
+#ifndef __ARM_PCS_VFP
+#error "not hardfp"
+#endif
+EOF
+                fi
                 check_add_cflags  -march=armv7-a -mfloat-abi=${float_abi}
                 check_add_asflags -march=armv7-a -mfloat-abi=${float_abi}
 
--