mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: simplify --cpu handling slightly
Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
87d718aefc
commit
a915980acd
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user