mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
acc7776ea7
toolchain.configure checks for information about the compilers we're using and accumulates additional flags that we might need to pass (e.g. switches for C/C++ versions, proper compiler targets, etc.), and then rechecks the compilers with those additional flags to verify that those flags are sufficient to configure the compiler properly. Only after we've checked for the proper flags do we move on to verifying the compiler versions are sufficient. It's possible, however, that the flags we try to add might not be supported by the compiler being tested, in which case we'd get an unfriendly error about an "unknown compiler", rather than something like "version X of Y not supported". In this case, we'd rather use the information we gathered from the first run to provide information messages. So we modify the second check to ignore any thrown exceptions during the check itself. This change results in another problem: the check for whether we had any extraneous flags is done prior to version checks for the compilers we support, which is also unhelpful. We choose to move this check after the version checks themselves. |
||
---|---|---|
.. | ||
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 |