mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 11:14:44 +00:00
configure: use warn function for unrecognised --cc and --arch settings
Originally committed as revision 23762 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
31a0dcb232
commit
851ffa803f
5
configure
vendored
5
configure
vendored
@ -1856,7 +1856,8 @@ elif $cc -V 2>&1 | grep -q Sun; then
|
||||
}
|
||||
fi
|
||||
|
||||
test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
|
||||
test -n "$cc_type" && enable $cc_type ||
|
||||
warn "Unknown C compiler $cc, unable to select optimal CFLAGS"
|
||||
|
||||
: ${as_default:=$cc}
|
||||
: ${dep_cc_default:=$cc}
|
||||
@ -1947,7 +1948,7 @@ case "$arch" in
|
||||
;;
|
||||
esac
|
||||
|
||||
is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch"
|
||||
is_in $arch $ARCH_LIST || warn "unknown architecture $arch"
|
||||
enable $arch
|
||||
|
||||
# Add processor-specific flags
|
||||
|
Loading…
Reference in New Issue
Block a user