configure: remember to output CC for windows
[fio.git] / configure
index cc453be4f119c63a3902a4ddcd1ae6882ef24625..e45ae394256a8eca2ea3f77f25336fd4e4c42783 100755 (executable)
--- a/configure
+++ b/configure
@@ -128,6 +128,7 @@ elif check_define _WIN32 ; then
   echo "CONFIG_POSIX_FALLOCATE=y"  >> $config_host_mak
   echo "CONFIG_FADVISE=y"          >> $config_host_mak
   echo "CONFIG_SFAA=y"             >> $config_host_mak
   echo "CONFIG_POSIX_FALLOCATE=y"  >> $config_host_mak
   echo "CONFIG_FADVISE=y"          >> $config_host_mak
   echo "CONFIG_SFAA=y"             >> $config_host_mak
+  echo "CC=$cc"                           >> $config_host_mak
   exit 0
 elif check_define __OpenBSD__ ; then
   targetos='OpenBSD'
   exit 0
 elif check_define __OpenBSD__ ; then
   targetos='OpenBSD'