Skip to content

Commit b9702bc

Browse files
caneraltinbasakotavio
authored andcommitted
fix: Fix compilation error with neon enabled arm target
rust triple is not specialized in yocto for neon enabled arm targets.
1 parent 2110480 commit b9702bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta-chromium/recipes-browser/chromium/files/0009-Adjust-the-Rust-build-to-our-needs.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ index 74b3b9ced5..5affd0b445 100644
6868
# https://github.com/rust-lang/rust/issues/44722
6969
if (arm_use_neon) {
7070
- rust_abi_target = "thumbv7neon-unknown-linux-gnueabi" + float_suffix
71-
+ rust_abi_target = "thumbv7neon" + vendor + "-linux-gnueabi" + float_suffix
71+
+ rust_abi_target = "armv7" + vendor + "-linux-gnueabi" + float_suffix
7272
} else {
7373
- rust_abi_target = "armv7-unknown-linux-gnueabi" + float_suffix
7474
+ rust_abi_target = "armv7" + vendor + "-linux-gnueabi" + float_suffix

0 commit comments

Comments
 (0)