author Ralph Giles <>
Thu, 06 Jul 2017 11:34:03 -0700
changeset 605605 04442951d5c978d95a91b097849d9d8cda335178
child 696412 16278cfafaa99a303c94fe7a274056bf75d46f68
permissions -rw-r--r--
Bug 1368083 - Pass -isysroot to bindgen. r=gps 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 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

args = [