Skip to content

Commit 8dddd90

Browse files
authored
Derive iOS host toolchain from $host_cpu (flutter#131)
Required to build 32-bit gen_snapshot for macOS.
1 parent 35d44f8 commit 8dddd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/config/BUILDCONFIG.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ if (is_win) {
611611
set_default_toolchain(host_toolchain)
612612
} else if (is_ios) {
613613
import("//build/config/ios/ios_sdk.gni") # For use_ios_simulator
614-
host_toolchain = "//build/toolchain/mac:clang_x64"
614+
host_toolchain = "//build/toolchain/mac:clang_$host_cpu"
615615
if (use_ios_simulator) {
616616
set_default_toolchain("//build/toolchain/mac:ios_clang_x64")
617617
} else {

0 commit comments

Comments
 (0)