Commit c42327cf authored by mru's avatar mru

configure: fix cpu=generic case

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fc82971e
......@@ -1815,7 +1815,9 @@ is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch"
enable $arch
# Add processor-specific flags
if enabled ppc; then
if test "$cpu" = generic; then
: do nothing
elif enabled ppc; then
case $cpu in
601|ppc601|PowerPC601)
......@@ -1923,12 +1925,6 @@ elif enabled avr32; then
;;
esac
else
if test "$cpu" != generic; then
echo "WARNING: Unknown CPU \"$cpu\", ignored."
fi
fi
add_cflags $cpuflags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment