зеркало из https://github.com/mozilla/gecko-dev.git
2108ee3e4e
When cross-compiling, rust-bindgen needs the -isysroot flag we pass to the C++ compiler to find the correct headers. Add a new BINDGEN_CFLAGS environment variable for passing this and other relevant options, and reformat its contents in toolchain.configure so we can use autoconf- style template substitution to poke it into a bindgen.toml file to be read by build scripts like build_gecko.rs. Set this variable from the macosx/cross-mozconfig.common to the same extra flags we pass to CXX so automation builds work correctly with --enable-stylo. MozReview-Commit-ID: 7wabObiFtVb --HG-- extra : rebase_source : eeba30e3d64112da65e2e6830ef5fc1b54965529 |
||
---|---|---|
.. | ||
android-ndk.configure | ||
checks.configure | ||
compile-checks.configure | ||
compilers-util.configure | ||
headers.configure | ||
init.configure | ||
java.configure | ||
keyfiles.configure | ||
memory.configure | ||
old.configure | ||
pkg.configure | ||
rust.configure | ||
toolchain.configure | ||
util.configure | ||
warnings.configure | ||
windows.configure |