diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-06-18 06:15:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 04:15:29 +0000 |
commit | 79cd87a3c3faf1be7ecfd99cb489c8094be7ea3f (patch) | |
tree | 62503ade7eb8efd081ac5a71f7fa141e44d995a7 /components/script/dom/testworklet.rs | |
parent | be290533c4c6c14547e1d5d3435f089ffd1972de (diff) | |
download | servo-79cd87a3c3faf1be7ecfd99cb489c8094be7ea3f.tar.gz servo-79cd87a3c3faf1be7ecfd99cb489c8094be7ea3f.zip |
Fix android build on Fedora 40. (#32532)
* Postfix PATH with android toolchain:
We only need to edit path for the linker specified
in the `.cargo/config.toml` to be found. Adding the
NDK clang to the end of PATH is sufficient for that.
Adding the NDK clang to the front can cause problems
however, since it causes the NDK `clang` to be
preferred over the system clang. This can cause
problems on some systems, where compiling
e.g. buildscripts for HOST subsequently fails.
* Prefix target compiler and compiler flags variables
with `TARGET_` so as not to influence compilation
for HOST targets.
* SET `CLANG_PATH` to avoid [bindgen #2682]
[bindgen #2682]: https://github.com/rust-lang/rust-bindgen/issues/2682
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'components/script/dom/testworklet.rs')
0 files changed, 0 insertions, 0 deletions