mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +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 |
||
---|---|---|
.. | ||
build-binutils | ||
build-gcc | ||
build-hfsplus | ||
elfhack | ||
stdc++compat | ||
aix.exp | ||
moz.build | ||
mozconfig.asan | ||
mozconfig.linux | ||
mozconfig.linux32 | ||
mozconfig.stdcxx | ||
mozconfig.tsan | ||
mozconfig.unix | ||
mozilla.in | ||
print-failed-commands.sh | ||
print-non-newline.sh | ||
rewrite_asan_dylib.py | ||
run-gprof.sh | ||
run-hiprof.sh | ||
run-mozilla.sh | ||
run-third.sh |