[libav-devel] [PATCH 6/7] configure: Simplify vfp_args check

Diego Biurrun diego at biurrun.de
Tue Mar 20 10:49:29 CET 2018


---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure b/configure
index 9257b94631..830f754412 100755
--- a/configure
+++ b/configure
@@ -4303,10 +4303,7 @@ elif enabled arm; then
     elif ! test_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__" && [ $target_os != darwin ]; then
         case "${cross_prefix:-$cc}" in
             *hardfloat*) enable vfp_args; fpabi=vfp ;;
-            *) check_ld vfp_args <<EOF && fpabi=vfp || fpabi=soft ;;
-__asm__ (".eabi_attribute 28, 1");
-int main(void) { return 0; }
-EOF
+            *) check_ld vfp_args '_asm__ (".eabi_attribute 28, 1"); int main(void) { return 0; }' && fpabi=vfp || fpabi=soft ;;
         esac
         warn "Compiler does not indicate floating-point ABI, guessing $fpabi."
     fi
-- 
2.11.0



More information about the libav-devel mailing list