Support cross-compiling Windows binaries on Linux
This defines another mutator between HostOrDevice and Arch that will
expand host modules into a module for each host type
(Darwin/Linux/Windows) that is currently being built.
Change-Id: I4c8ac6b616c229f6bd45ad8a35902652fb6a4fff
diff --git a/cc/mips64_device.go b/cc/mips64_device.go
index d792d00..e0b6a89 100644
--- a/cc/mips64_device.go
+++ b/cc/mips64_device.go
@@ -195,5 +195,5 @@
}
func init() {
- registerToolchainFactory(common.Device, common.Mips64, mips64ToolchainFactory)
+ registerDeviceToolchainFactory(common.Mips64, mips64ToolchainFactory)
}