Try to use w64 toolchain for --build-w32.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Nov 2012 09:35:33 +0000 (10:35 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Apr 2013 18:27:44 +0000 (20:27 +0200)
--

autogen.sh

index 289c21e..646b8a0 100755 (executable)
@@ -62,7 +62,7 @@ if test "$1" = "--build-w32"; then
 
     # Locate the cross compiler
     crossbindir=
-    for host in i586-mingw32msvc i386-mingw32msvc mingw32; do
+    for host in i686-w64-mingw32 i586-mingw32msvc i386-mingw32msvc mingw32; do
         if ${host}-gcc --version >/dev/null 2>&1 ; then
             crossbindir=/usr/${host}/bin
             conf_CC="CC=${host}-gcc"