diff options
author | pbrook | 2007-02-27 02:03:41 +0100 |
---|---|---|
committer | pbrook | 2007-02-27 02:03:41 +0100 |
commit | 1124426a0940f50fe86c40ea89f0342a1f835312 (patch) | |
tree | ff8ebfaec44f8e8dd90b4aea04a7b201ac8c953c /configure | |
parent | Fix "make install prefix=/somewhere". (diff) | |
download | qemu-1124426a0940f50fe86c40ea89f0342a1f835312.tar.gz qemu-1124426a0940f50fe86c40ea89f0342a1f835312.tar.xz qemu-1124426a0940f50fe86c40ea89f0342a1f835312.zip |
Honor $cross_prefix when searching for suitable gcc.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2453 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |