Commit 1124426a authored by pbrook's avatar pbrook
Browse files

Honor $cross_prefix when searching for suitable gcc.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2453 c046a42c-6fe2-441c-8c8c-71466251a162
parent 308c3593
......@@ -348,9 +348,9 @@ EOF
if test "$gcc3_search" = "yes" ; then
echo "Looking for gcc 3.x"
for compat_cc in $gcc3_list ; do
if check_cc "$compat_cc" ; then
if check_cc "$cross_prefix$compat_cc" ; then
echo "Found \"$compat_cc\""
cc="$compat_cc"
cc="$cross_prefix$compat_cc"
found_compat_cc="yes"
break
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