mirror of https://git.ffmpeg.org/ffmpeg.git
Fix configure to properly build without PIC by default on Darwin
Patch by Alexander Strange (astrange ithinksw com) Originally committed as revision 12425 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fecf966f17
commit
8b83d56893
|
@ -1374,7 +1374,7 @@ if test $targetos = darwin; then
|
||||||
add_cflags "-pipe"
|
add_cflags "-pipe"
|
||||||
check_cflags "-force_cpusubtype_ALL"
|
check_cflags "-force_cpusubtype_ALL"
|
||||||
check_cflags "-Wno-sign-compare"
|
check_cflags "-Wno-sign-compare"
|
||||||
disabled shared && add_cflags -mdynamic-no-pic
|
enabled shared || add_cflags -mdynamic-no-pic
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue