aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-04-27 16:12:24 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-04-27 16:12:24 +0000
commitf946a9a431f93492c08a1be0117a1f51e7429136 (patch)
tree64d6404f31050399acc749299c203c8a406908a7
parent1f9449234e503d00d4189549e41a4b6eed4075f8 (diff)
downloadffmpeg-f946a9a431f93492c08a1be0117a1f51e7429136.tar.gz
Use check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.
Originally committed as revision 13007 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 840d05470b..c6bb4d7522 100755
--- a/configure
+++ b/configure
@@ -1358,7 +1358,7 @@ if test $target_os = darwin; then
add_cflags "-pipe"
check_cflags "-force_cpusubtype_ALL"
check_cflags "-Wno-sign-compare"
- enabled shared || add_cflags -mdynamic-no-pic
+ enabled shared || check_cflags -mdynamic-no-pic
fi
fi