Commit 1124426a0940f50fe86c40ea89f0342a1f835312

Authored by pbrook
1 parent 308c3593

Honor $cross_prefix when searching for suitable gcc.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2453 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
configure
@@ -348,9 +348,9 @@ EOF @@ -348,9 +348,9 @@ EOF
348 if test "$gcc3_search" = "yes" ; then 348 if test "$gcc3_search" = "yes" ; then
349 echo "Looking for gcc 3.x" 349 echo "Looking for gcc 3.x"
350 for compat_cc in $gcc3_list ; do 350 for compat_cc in $gcc3_list ; do
351 - if check_cc "$compat_cc" ; then 351 + if check_cc "$cross_prefix$compat_cc" ; then
352 echo "Found \"$compat_cc\"" 352 echo "Found \"$compat_cc\""
353 - cc="$compat_cc" 353 + cc="$cross_prefix$compat_cc"
354 found_compat_cc="yes" 354 found_compat_cc="yes"
355 break 355 break
356 fi 356 fi