configure: restore -mdynamic-no-pic on darwin (missing since r20497)
authorAlexander Strange <astrange@ithinksw.com>
Tue, 30 Mar 2010 16:28:00 +0000 (16:28 +0000)
committerAlexander Strange <astrange@ithinksw.com>
Tue, 30 Mar 2010 16:28:00 +0000 (16:28 +0000)
commit13cb218724f6f0e8ffc080b38e07c7d989aad6bb
tree77799a95fb9ac8bc00c6a18be5c0f99a516a975b
parent32e543f866d9d4b450729e93cd81dacd8c457971
configure: restore -mdynamic-no-pic on darwin (missing since r20497)

Darwin compilers default to PIC on, so -mdynamic-no-pic (which disables it
again) needs to be added to cflags before enable pic is checked.

Fixes compilation without --enable-shared at least the 10.6 system compiler
for x86-32.
Fixes speed regression on all darwin arches except x86-64.

Originally committed as revision 22730 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure