You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -4015,7 +4015,7 @@ elif enabled arm; then
|
|||||||
enable vfp_args
|
enable vfp_args
|
||||||
elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; then
|
elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; then
|
||||||
enable vfp_args
|
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
|
case "${cross_prefix:-$cc}" in
|
||||||
*hardfloat*) enable vfp_args; fpabi=vfp ;;
|
*hardfloat*) enable vfp_args; fpabi=vfp ;;
|
||||||
*) check_ld <<EOF && enable vfp_args && fpabi=vfp || fpabi=soft ;;
|
*) check_ld <<EOF && enable vfp_args && fpabi=vfp || fpabi=soft ;;
|
||||||
|
Reference in New Issue
Block a user