gecko-dev/build/moz.configure
Ralph Giles 2108ee3e4e 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 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
2017-07-06 11:34:03 -07:00
..
android-ndk.configure Bug 1360291 - Detect NDK version number; r=nalexander 2017-05-04 19:19:31 -04:00
checks.configure Bug 1316956 - Add a when argument to check_prog. r=chmanchester 2017-05-13 07:12:56 +09:00
compile-checks.configure Bug 1363585 - Forbid boolean operations on @depends functions. r=chmanchester 2017-05-10 11:35:22 +09:00
compilers-util.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
headers.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
init.configure Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
java.configure Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
keyfiles.configure Bug 1365089 - Pre: Support setting default keyfile locations in moz.configure. r=nalexander 2017-05-19 11:30:26 -07:00
memory.configure Bug 1363992 - Remove support for making jemalloc4 the default. r=njn 2017-05-11 13:16:00 +09:00
old.configure Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
pkg.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
rust.configure bug 1275424 - hardcode Rust source paths in symbolstore.py. r=gps 2017-06-23 16:19:49 -04:00
toolchain.configure Bug 1368083 - Pass -isysroot to bindgen. r=gps 2017-07-06 11:34:03 -07:00
util.configure Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261 2017-05-19 07:03:40 +09:00
warnings.configure Bug 1368649 - Default to -O2 when building on Linux without PGO. r=gps 2017-05-31 06:19:38 +09:00
windows.configure Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261 2017-05-19 07:03:40 +09:00