[FFmpeg-cvslog] r19489 - trunk/configure

mru subversion
Wed Jul 22 22:41:39 CEST 2009


Author: mru
Date: Wed Jul 22 22:41:39 2009
New Revision: 19489

Log:
configure: set -mdynamic-no-pic flag in main darwin section

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jul 22 22:41:35 2009	(r19488)
+++ trunk/configure	Wed Jul 22 22:41:39 2009	(r19489)
@@ -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 && ena
 
 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."



More information about the ffmpeg-cvslog mailing list