Fix target detection on mingw32

gcc -dumpmachine returns only 'mingw32'

Change-Id: I774d05a97c5131fc12009e436712c319e54490a5
This commit is contained in:
John Koleszar 2010-09-02 11:51:45 -04:00
parent 21039ce16e
commit d6ee72a7bf

View File

@ -518,6 +518,7 @@ process_common_toolchain() {
tgt_os=darwin9
;;
*mingw32*|*cygwin*)
[ -z "$tgt_isa" ] && tgt_isa=x86
tgt_os=win32
;;
*linux*|*bsd*)