diff options
author | Martin Storsjö <martin@martin.st> | 2015-08-14 09:47:21 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-08-16 00:17:22 +0300 |
commit | cb2dbe2c762dae44d890aa26620bcdd9022fd0f3 (patch) | |
tree | fef1d7ed8634fbdb2cd3a15e679aa0ffdde69258 | |
parent | 44b44441203177690305c294be6eff8d9c668954 (diff) | |
download | ffmpeg-cb2dbe2c762dae44d890aa26620bcdd9022fd0f3.tar.gz |
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 <james.howe@hp.com>.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4015,7 +4015,7 @@ elif enabled arm; then enable vfp_args elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; 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 ;; |