]> git.lizzy.rs Git - rust.git/commit
auto merge of #10578 : luqmana/rust/mingw64, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 24 Nov 2013 05:36:50 +0000 (21:36 -0800)
committerbors <bors@rust-lang.org>
Sun, 24 Nov 2013 05:36:50 +0000 (21:36 -0800)
commit9ba473f86f900bf5a5009bf0695b6d9618df83ca
tree0f932b1e3733324c06e3972fa1432bf5dbd052cf
parent33375a31e884043961b374ab7c654e4cd9e98527
parentae5a13d64321e49b8a35c120d7f2fa0d5578d8fa
auto merge of #10578 : luqmana/rust/mingw64, r=alexcrichton

With these changes I was able to cross compile for windows from a linux box. (Using the mingw-w64 package on Debian Testing).

Fixed a bug where the `target_family` cfg would be wrong when targeting something with a different value than the host. (i.e windows -> unix or unix -> windows).

Also, removed `LIBUV_FLAGS` in `mk/rt.mk` because of the redundancy between it and `CFG_GCCISH_CFLAGS_(target)`.

After this we can create a snapshot and migrate to mingw64 instead of mingw32.