From: Jens Axboe Date: Wed, 23 Jan 2013 23:26:12 +0000 (-0700) Subject: configure: add default compiler on Windows X-Git-Tag: fio-2.0.14~90 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4578d01f2fb310e4bd301176dfdd87827b9ba5d3 configure: add default compiler on Windows Signed-off-by: Jens Axboe --- 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