]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit 'cb2dbe2c762dae44d890aa26620bcdd9022fd0f3'
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 18 Aug 2015 07:02:01 +0000 (09:02 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Tue, 18 Aug 2015 07:02:01 +0000 (09:02 +0200)
* commit 'cb2dbe2c762dae44d890aa26620bcdd9022fd0f3':
  configure: arm: Assume softfp ABI on darwin

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
1  2 
configure

diff --cc configure
index 55cc7fb64b2d844e03ba6f875b587ea22edf476a,133448026601da4485a3a9b3266c0263274c2646..a6c57d07f273bcf0436aded10ff7bd9a34621954
+++ b/configure
          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 ;;
 +            *) check_ld "cc" <<EOF && enable vfp_args && fpabi=vfp || fpabi=soft ;;
  __asm__ (".eabi_attribute 28, 1");
  int main(void) { return 0; }
  EOF