Commit f946a9a4 authored by Alexander Strange's avatar Alexander Strange

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
parent 1f944923
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment