]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Honor $cross_prefix when searching for suitable gcc.
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 27 Feb 2007 01:03:41 +0000 (01:03 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 27 Feb 2007 01:03:41 +0000 (01:03 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2453 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index ceb9badb45a2b4d83bd4fbe1438bbd2f622e7c21..093501625274948b6a151819a5fd19e9eaf64da0 100755 (executable)
--- a/configure
+++ b/configure
@@ -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