Commit c7ae6345 authored by Måns Rullgård's avatar Måns Rullgård

try to stop people blindly using --cross-compile

Originally committed as revision 6359 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0ec6065a
...@@ -1140,6 +1140,7 @@ if test "$?" != 0; then ...@@ -1140,6 +1140,7 @@ if test "$?" != 0; then
echo "$cc is unable to create an executable file." echo "$cc is unable to create an executable file."
if test -z "$cross_prefix" -a "$cross_compile" = no; then if test -z "$cross_prefix" -a "$cross_compile" = no; then
echo "If $cc is a cross-compiler, use the --cross-compile option." echo "If $cc is a cross-compiler, use the --cross-compile option."
echo "Only do this if you know what cross compiling means."
fi fi
die "C compiler test failed." die "C compiler test failed."
fi fi
......
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