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/x86_device.go b/cc/x86_device.go
index df0c0ff..8543240 100644
--- a/cc/x86_device.go
+++ b/cc/x86_device.go
@@ -258,5 +258,5 @@
}
func init() {
- registerToolchainFactory(common.Device, common.X86, x86ToolchainFactory)
+ registerDeviceToolchainFactory(common.X86, x86ToolchainFactory)
}