mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d90330dc20
commit
a036c1b537
6
configure
vendored
6
configure
vendored
@ -1824,6 +1824,7 @@ case $target_os in
|
||||
FFSERVERLDFLAGS=-Wl,-bind_at_load
|
||||
objformat="macho"
|
||||
enabled x86_64 && objformat="macho64"
|
||||
enabled shared || check_cflags -mdynamic-no-pic
|
||||
;;
|
||||
mingw32*)
|
||||
target_os=mingw32
|
||||
@ -1972,11 +1973,6 @@ enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
|
||||
|
||||
check_deps $ARCH_EXT_LIST
|
||||
|
||||
#Darwin CC versions
|
||||
if test $target_os = darwin; then
|
||||
enabled shared || check_cflags -mdynamic-no-pic
|
||||
fi
|
||||
|
||||
disabled optimizations || check_cflags -fomit-frame-pointer
|
||||
|
||||
check_cc <<EOF || die "Symbol mangling check failed."
|
||||
|
Loading…
Reference in New Issue
Block a user