mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
aeac69533b
When cross-building with clang, we use `--target` with a target that is derived from the configure target, with the vendor removed. So for `configure --target=aarch64-unknown-linux-gnu`, we use `clang --target=aarch64-linux-gnu`. Then, clang itself looks for tools as `$target-$tool` first, then `$tool`, which means for the assembler, it's looking for `aarch64-linux-gnu-as` before `as`, but not `aarch64-unknown-linux-gnu-as`. Building GNU as with `--target=aarch64-unknown-linux-gnu` creates the `aarch64-unknown-linux-gnu-as`, but we really want `aarch64-linux-gnu`, so we adjust the target in the binutils build script. Differential Revision: https://phabricator.services.mozilla.com/D25684 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F.key | ||
build-binutils.sh |