| Index: build/config/BUILDCONFIG.gn
|
| diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
| index 4f3a223c32d23ab7b79007add5081deac14bdf7e..df92a43cc2ab083cb40ac1114750f7b0e10c0635 100644
|
| --- a/build/config/BUILDCONFIG.gn
|
| +++ b/build/config/BUILDCONFIG.gn
|
| @@ -225,7 +225,11 @@ if (target_os == "android") {
|
| _default_toolchain = host_toolchain
|
| } else if (target_os == "win") {
|
| # On Windows we use the same toolchain for host and target by default.
|
| - assert(target_os == host_os, "Win cross-compiles only work on win hosts.")
|
| + #assert(target_os == host_os, "Win cross-compiles only work on win hosts.")
|
| + # TODO(thakis): Getting this working requires definiting a clang_x86 toolchain
|
| + # on mac.
|
| + assert(host_os != "mac" || target_cpu != "x86",
|
| + "Doing 32-bit Windows builds on Mac does not yet work, target 64-bit")
|
| if (is_clang) {
|
| _default_toolchain = "//build/toolchain/win:clang_$target_cpu"
|
| } else {
|
|
|