mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
configure: fix cpu=generic case
Originally committed as revision 21300 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bffe82f504
commit
5d54c12611
10
configure
vendored
10
configure
vendored
@ -1815,7 +1815,9 @@ is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch"
|
|||||||
enable $arch
|
enable $arch
|
||||||
|
|
||||||
# Add processor-specific flags
|
# Add processor-specific flags
|
||||||
if enabled ppc; then
|
if test "$cpu" = generic; then
|
||||||
|
: do nothing
|
||||||
|
elif enabled ppc; then
|
||||||
|
|
||||||
case $cpu in
|
case $cpu in
|
||||||
601|ppc601|PowerPC601)
|
601|ppc601|PowerPC601)
|
||||||
@ -1923,12 +1925,6 @@ elif enabled avr32; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
if test "$cpu" != generic; then
|
|
||||||
echo "WARNING: Unknown CPU \"$cpu\", ignored."
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_cflags $cpuflags
|
add_cflags $cpuflags
|
||||||
|
Loading…
Reference in New Issue
Block a user