detection of mingw build.
+2006-01-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * stepmake/stepmake/generic-vars.make (MINGW_BUILD): generic
+ detection of mingw build.
+
2006-01-12 Jan Nieuwenhuizen <janneke@gnu.org>
* stepmake/stepmake/generic-vars.make (MINGW_BUILD): Add
CYGWIN_BUILD = yes
endif
-ifeq ($(HOST_ARCH),i586-mingw32msvc)
+ifeq (mingw,$(findstring mingw$(HOST_ARCH)))
MINGW_BUILD = yes
endif
-ifeq ($(HOST_ARCH),i386-mingw32)
-MINGW_BUILD = yes
-endif
-ifeq ($(HOST_ARCH),i686-mingw32)
-MINGW_BUILD = yes
endif
ifeq (darwin,$(findstring darwin,$(HOST_ARCH)))
DARWIN_BUILD = yes