configure: add default compiler on Windows
authorJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 23:26:12 +0000 (16:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 23:26:12 +0000 (16:26 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure

index 5dcfe7b..7c12b01 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