[FFmpeg-cvslog] r19451 - trunk/configure

mru subversion
Fri Jul 17 10:21:38 CEST 2009


Author: mru
Date: Fri Jul 17 10:21:37 2009
New Revision: 19451

Log:
configure: simplify --cpu handling slightly

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Jul 17 06:30:49 2009	(r19450)
+++ trunk/configure	Fri Jul 17 10:21:37 2009	(r19451)
@@ -1856,7 +1856,6 @@ fi
 disabled optimizations || check_cflags -fomit-frame-pointer
 
 # Add processor-specific flags
-if test $cpu != "generic"; then
     case $cpu in
         601|ppc601|PowerPC601)
             cpuflags="-mcpu=601"
@@ -1926,11 +1925,12 @@ if test $cpu != "generic"; then
         mips*|[45]k*|[237]4k*|m4k|r*000|loongson2[ef])
             cpuflags="-march=$cpu"
         ;;
+        generic)
+        ;;
         *)
             echo "WARNING: Unknown CPU \"$cpu\", ignored."
         ;;
     esac
-fi
 
 add_cflags $cpuflags
 add_asflags $cpuflags



More information about the ffmpeg-cvslog mailing list