From 7799eeec931aa8bd9cbd575eb9db5796d530ee58 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 18 Aug 2007 08:57:38 +0000 Subject: [PATCH] small simplification Originally committed as revision 10141 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure b/configure index 6c3a2e6136..8af75e3521 100755 --- a/configure +++ b/configure @@ -1285,7 +1285,6 @@ check_deps $ARCH_EXT_LIST test -z "$need_memalign" && need_memalign="$mmx" #Darwin CC versions -needmdynamicnopic="no" if test $targetos = darwin; then if test -n "`$cc -v 2>&1 | grep xlc`"; then add_cflags "-qpdf2 -qlanglvl=extc99 -qmaxmem=-1 -qarch=auto -qtune=auto" @@ -1293,10 +1292,9 @@ if test $targetos = darwin; then add_cflags "-no-cpp-precomp -pipe" check_cflags "-force_cpusubtype_ALL" check_cflags "-Wno-sign-compare" - disabled shared && needmdynamicnopic="yes" + disabled shared && add_cflags -mdynamic-no-pic fi fi -enabled needmdynamicnopic && add_cflags -mdynamic-no-pic disabled optimize || add_cflags -fomit-frame-pointer