From a915980acdf7a7f02780fe5e936777f74c85c3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Fri, 17 Jul 2009 08:21:37 +0000 Subject: [PATCH] configure: simplify --cpu handling slightly Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 57b7d1025c..bc5d4e7bcf 100755 --- a/configure +++ b/configure @@ -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