Module: libav Branch: release/11 Commit: 227347a8149b587378b16d6c0bd3fb3945732611
Author: Martin Storsjö <[email protected]> Committer: Luca Barbato <[email protected]> Date: Fri Aug 14 09:47:21 2015 +0300 configure: arm: Assume softfp ABI on darwin Don't try to detect the float ABI by checking at the toolchain name or by trying to assemble and link files with eabi_attributes. This fixes the float ABI detection when building using clang with -fembed-bitcode, where the current eabi_attributes check accidentally passes. This issue was pointed out by James Howe <[email protected]>. CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7d5f7f8..0e04b8e 100755 --- a/configure +++ b/configure @@ -3852,7 +3852,7 @@ elif enabled arm; then if check_cpp_condition stddef.h "defined __ARM_PCS_VFP"; then enable vfp_args - elif ! check_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__"; then + elif ! check_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 <<EOF && enable vfp_args && fpabi=vfp || fpabi=soft ;; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
