mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #6421 - mmatyas:arm_build2, r=larsbergstrom
Fix ARM linker By default, `cc` is used for the final linking of servo, which points to the host's compiler. This patch ensures that the correct linker is used for cross-compiling to ARM. Part of #6327 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6421) <!-- Reviewable:end -->
This commit is contained in:
commit
fa45688191
1 changed files with 4 additions and 0 deletions
|
@ -3,3 +3,7 @@ paths = ["../../support/android-rs-glue"]
|
|||
[target.arm-linux-androideabi]
|
||||
linker = "../../target/debug/apk-builder"
|
||||
ar = "arm-linux-androideabi-ar"
|
||||
|
||||
[target.arm-unknown-linux-gnueabihf]
|
||||
linker = "arm-linux-gnueabihf-gcc"
|
||||
ar = "arm-linux-gnueabihf-ar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue