gecko-dev/build/moz.configure
Nathan Froyd acc7776ea7 Bug 1325632 - part 1 - modify re-checking the compiler with flags; r=glandium
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.
2017-09-21 12:40:02 -05:00
..
android-ndk.configure Bug 1350822 - Remove --with-android-gnu-compiler-version. r=glandium 2017-09-20 20:34:18 +09:00
checks.configure Bug 1374727 - Apply check_prog's when to more of what it "expands" to. r=chmanchester 2017-06-21 07:19:33 +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 1390524 - correctly pass extra_toolchain_flags only to target compiles; r=glandium 2017-08-18 12:05:05 -04:00
headers.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
init.configure Bug 1392886 - Determine if sparse checkout is being used; r=mshal 2017-08-22 20:26:46 -07:00
java.configure Bug 1398966 - Suggest checking JAVA_HOME if javac is out of date. r=nalexander 2017-09-11 19:06:26 -04: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 1395070 - Remove the MOZ_MEMORY_$platform defines. r=njn 2017-08-30 17:01:30 +09:00
old.configure Bug 1401448 - Remove libstdc++ support from Android buildconfig. r=froydnj 2017-09-20 16:38:48 +09:00
pkg.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
rust.configure Bug 1383311 - Require rust 1.19.0. r=froydnj,gps 2017-07-24 07:51:57 -07:00
toolchain.configure Bug 1325632 - part 1 - modify re-checking the compiler with flags; r=glandium 2017-09-21 12:40:02 -05:00
util.configure Bug 1384396 - Add a @depends_all utility function; r=nalexander 2017-07-25 22:00:38 -07:00
warnings.configure Bug 1393222 Disable the unused-function warning when compiling with gcc for Windows r=froydnj 2017-08-23 16:08:30 -05:00
windows.configure Bug 1380609: Make Windows Universal CRT SDK version 10.0.10586.0 the minimum. r=glandium 2017-09-13 11:19:40 +01:00