Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Use the x64 host toolchain for x86 target gen_snapshot only on Linux #12809

Merged
merged 1 commit into from
Oct 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/snapshot/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ compiled_action("generate_snapshot_bin") {
# platform is 32-bit. Override this to create a 64-bit gen_snapshot for x86
# targets because some host platforms may not support 32-bit binaries.
tool = "//third_party/dart/runtime/bin:gen_snapshot_host_targeting_host"
if (target_cpu == "x86") {
if (target_cpu == "x86" && host_os == "linux") {
toolchain = "//build/toolchain/$host_os:clang_x64"
}

Expand Down