mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #9492 - mmatyas:arm64_linker_fix, r=jdm
Fix build error on AArch64 When cross compiling to AArch64, the native `cc` is used in the final linking step, instead of `aarch64-linux-gnu-gcc`. This patch fixes the issue. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9492) <!-- Reviewable:end -->
This commit is contained in:
commit
ea385fdd11
1 changed files with 4 additions and 0 deletions
|
@ -5,3 +5,7 @@ ar = "arm-linux-androideabi-ar"
|
||||||
[target.arm-unknown-linux-gnueabihf]
|
[target.arm-unknown-linux-gnueabihf]
|
||||||
linker = "arm-linux-gnueabihf-gcc"
|
linker = "arm-linux-gnueabihf-gcc"
|
||||||
ar = "arm-linux-gnueabihf-ar"
|
ar = "arm-linux-gnueabihf-ar"
|
||||||
|
|
||||||
|
[target.aarch64-unknown-linux-gnu]
|
||||||
|
linker = "aarch64-linux-gnu-gcc"
|
||||||
|
ar = "aarch64-linux-gnu-ar"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue