aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-22 20:41:39 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-22 20:41:39 +0000
commita036c1b5376c4d0f2965169c3f3a2bee6d010e8b (patch)
treeddcdbd54122f0b38d73c511338d737cc46e66d4e
parentd90330dc203a38a67be2fb0a55ae7730fdeaec37 (diff)
downloadffmpeg-a036c1b5376c4d0f2965169c3f3a2bee6d010e8b.tar.gz
configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 10955a7f99..8cfad803de 100755
--- a/configure
+++ b/configure
@@ -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."