mirror of https://git.ffmpeg.org/ffmpeg.git
Do not use -mdynamic-no-pic if PIC is enabled
Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
50fa82e6d2
commit
8dfa86f78a
|
@ -1901,7 +1901,7 @@ case $target_os in
|
||||||
FFSERVERLDFLAGS=-Wl,-bind_at_load
|
FFSERVERLDFLAGS=-Wl,-bind_at_load
|
||||||
objformat="macho"
|
objformat="macho"
|
||||||
enabled x86_64 && objformat="macho64"
|
enabled x86_64 && objformat="macho64"
|
||||||
enabled shared ||
|
enabled_any pic shared ||
|
||||||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
|
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
|
||||||
;;
|
;;
|
||||||
mingw32*)
|
mingw32*)
|
||||||
|
|
Loading…
Reference in New Issue