configure: add default compiler on Windows
[fio.git] / configure
index 5dcfe7b3af0fe76714afd4b2caaec13c8d4385d1..7c12b016d374c56d2cd9fb4fe19288c305fafaaa 100755 (executable)
--- a/configure
+++ b/configure
@@ -147,6 +147,9 @@ SunOS)
   ;;
 CYGWIN*)
   echo "Forcing known good options on Windows"
+  if test -z "$CC" ; then
+    CC="x86_64-w64-mingw32-gcc"
+  fi
   echo "CC=$CC"                    >  $config_host_mak
   echo "CONFIG_LITTLE_ENDIAN=y"    >> $config_host_mak
   echo "CONFIG_64BIT_LLP64=y"      >> $config_host_mak