Use check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.

Originally committed as revision 13007 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Alexander Strange 17 years ago
parent 1f9449234e
commit f946a9a431
  1. 2
      configure

2
configure vendored

@ -1358,7 +1358,7 @@ if test $target_os = darwin; then
add_cflags "-pipe"
check_cflags "-force_cpusubtype_ALL"
check_cflags "-Wno-sign-compare"
enabled shared || add_cflags -mdynamic-no-pic
enabled shared || check_cflags -mdynamic-no-pic
fi
fi

Loading…
Cancel
Save