Skip to content

Commit

Permalink
Derive iOS host toolchain from $host_cpu (flutter#131)
Browse files Browse the repository at this point in the history
Required to build 32-bit gen_snapshot for macOS.
  • Loading branch information
cbracken authored Apr 3, 2018
1 parent 35d44f8 commit 8dddd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/BUILDCONFIG.gn
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ if (is_win) {
set_default_toolchain(host_toolchain)
} else if (is_ios) {
import("//build/config/ios/ios_sdk.gni") # For use_ios_simulator
host_toolchain = "//build/toolchain/mac:clang_x64"
host_toolchain = "//build/toolchain/mac:clang_$host_cpu"
if (use_ios_simulator) {
set_default_toolchain("//build/toolchain/mac:ios_clang_x64")
} else {
Expand Down

0 comments on commit 8dddd90

Please sign in to comment.