[FFmpeg-cvslog] r14791 - trunk/configure

superdump subversion
Sat Aug 16 19:18:23 CEST 2008


Author: superdump
Date: Sat Aug 16 19:18:23 2008
New Revision: 14791

Log:
Use correct asm object type and necessary -DPIC for yasm on 64-bit Darwin

Thread: [FFmpeg-devel] fft_mmx.asm yasm 64bit build broken
Patch by 'D' (lessen42 gmail com)


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Aug 16 19:18:23 2008
@@ -1262,6 +1262,7 @@ case $target_os in
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'
         FFSERVERLDFLAGS=-Wl,-bind_at_load
         objformat="macho"
+        enabled x86_64 && objformat="macho64"
         ;;
     mingw32*)
         target_os=mingw32
@@ -1561,6 +1562,7 @@ EOF
     enabled_all x86_64 shared && append YASMFLAGS "-DPIC"
     case "$objformat" in
         elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
+        macho64)              append YASMFLAGS "-DPIC -DPREFIX" ;;
         *)                    append YASMFLAGS "-DPREFIX"  ;;
     esac
     check_yasm "pabsw xmm0, xmm0" && enable yasm




More information about the ffmpeg-cvslog mailing list