From c065ad22d5454571255463571347f5fdfde27b3e Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 17 Nov 2015 22:59:43 +0100 Subject: [PATCH] Change the MinGW compiler for Windows binaries --- HISTORY | 5 ++++- configure.windows-x64 | 2 +- configure.windows-x86 | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index c23c9cfe..59be55ae 100644 --- a/HISTORY +++ b/HISTORY @@ -1,11 +1,14 @@ SnapRAID HISTORY ================ -9.1 2015/12 +9.1 2015/11 =========== * In Winwdows disables the file zero check requring the --force-zero option. This check is intended for possible case using ext3/4 in Linux, and there is no evidence that in Windows it's possible at all. + * Windows binaries built with gcc 4.9.3 using the MXE cross compiler at + commitc 62bcdbee56e87c81f1faa105b8777a5879d4e2e with targets + i686-w64-mingw32 and x86_64-w64-mingw32 and optimization -O2. 9.0 2015/11 =========== diff --git a/configure.windows-x64 b/configure.windows-x64 index 126271e5..8b7107f8 100755 --- a/configure.windows-x64 +++ b/configure.windows-x64 @@ -1,3 +1,3 @@ -./configure --host=x86_64-w64-mingw32 --build=`./config.guess` $@ +./configure --host=x86_64-w64-mingw32.static --build=`./config.guess` $@ diff --git a/configure.windows-x86 b/configure.windows-x86 index ba87a88c..913871a4 100755 --- a/configure.windows-x86 +++ b/configure.windows-x86 @@ -1,3 +1,3 @@ -./configure --host=i686-w64-mingw32 --build=`./config.guess` $@ +./configure --host=i686-w64-mingw32.static --build=`./config.guess` $@