]> granicus.if.org Git - libvpx/commitdiff
Fix target detection on mingw32
authorJohn Koleszar <jkoleszar@google.com>
Thu, 2 Sep 2010 15:51:45 +0000 (11:51 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 2 Sep 2010 15:52:39 +0000 (11:52 -0400)
gcc -dumpmachine returns only 'mingw32'

Change-Id: I774d05a97c5131fc12009e436712c319e54490a5

build/make/configure.sh

index 4b732e63f96055290233a6faa65eae6cb8d024e7..73cb60085da698c03b5e69fd38357134e1a1a579 100755 (executable)
@@ -518,6 +518,7 @@ process_common_toolchain() {
                 tgt_os=darwin9
                 ;;
             *mingw32*|*cygwin*)
+                [ -z "$tgt_isa" ] && tgt_isa=x86
                 tgt_os=win32
                 ;;
             *linux*|*bsd*)