Use mingw-w64 for 32bit Windows builds as well.

Mingw(32) is rather poorly maintaned and has quite a lot of bugs. And
because our Windows cross builds were also poorly maintained and most of
the cross-tests were broken as well, I'm just taking this step and try
to switch to mingw-w64 for everything "cross Windows".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2014-03-03 22:38:48 +01:00
parent ae0b5d6813
commit e64b342fa8
10 changed files with 19 additions and 29 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
"CC=${stdenv.cross.config}-gcc"
"LD=${stdenv.cross.config}-gcc"
"STRIP="
] ++ optional (stdenv.cross.config == "x86_64-w64-mingw32") "SYSTEM=mingw";
] ++ optional (stdenv.cross.libc == "msvcrt") "SYSTEM=mingw";
meta = {
description = "An OpenGL extension loading library for C(++)";