[FFmpeg-cvslog] r20478 - trunk/configure

reimar subversion
Sun Nov 8 23:39:10 CET 2009


Author: reimar
Date: Sun Nov  8 23:39:10 2009
New Revision: 20478

Log:
Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Nov  8 15:54:43 2009	(r20477)
+++ trunk/configure	Sun Nov  8 23:39:10 2009	(r20478)
@@ -2232,10 +2232,10 @@ EOF
     YASMFLAGS="-f $objformat -DARCH_$(toupper $subarch)"
     enabled     x86_64        && append YASMFLAGS "-m amd64"
     enabled     pic           && append YASMFLAGS "-DPIC"
+    test -n "$extern_prefix"  && append YASMFLAGS "-DPREFIX"
     case "$objformat" in
         elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
-        macho64)              append YASMFLAGS "-DPIC -DPREFIX" ;;
-        *)                    append YASMFLAGS "-DPREFIX"  ;;
+        macho64)              append YASMFLAGS "-DPIC" ;;
     esac
     disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
 



More information about the ffmpeg-cvslog mailing list