From 4578d01f2fb310e4bd301176dfdd87827b9ba5d3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 23 Jan 2013 16:26:12 -0700 Subject: [PATCH] configure: add default compiler on Windows Signed-off-by: Jens Axboe --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 5dcfe7b3..7c12b016 100755 --- 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 -- 2.25.1