Skip to content

Commit 3888fe9

Browse files
[build] Don't assume x64 host when setting up gcc toolchains.
Change-Id: Ie79c6e415ef287472c41597f6896ce1045e01fa7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304361 Reviewed-by: Alexander Aprelev <[email protected]>
1 parent 2782a48 commit 3888fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/toolchain/linux/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ gcc_toolchain("clang_x86") {
163163
}
164164

165165
gcc_toolchain("x86") {
166-
prefix = ""
166+
prefix = "i686-linux-gnu-"
167167
if (ia32_toolchain_prefix != "") {
168168
prefix = ia32_toolchain_prefix
169169
}
@@ -205,7 +205,7 @@ gcc_toolchain("clang_x64") {
205205
}
206206

207207
gcc_toolchain("x64") {
208-
prefix = ""
208+
prefix = "x86_64-linux-gnu-"
209209
if (x64_toolchain_prefix != "") {
210210
prefix = x64_toolchain_prefix
211211
}

0 commit comments

Comments
 (0)