author Ted Mielczarek <ted@mielczarek.org>
Wed, 03 Oct 2018 20:29:29 -0400
changeset 439566 23f384237f7320a5f5ef99f19781feb0227faf7e
parent 405341 8934930b9199c69ec3d89ff119efafda87fef38c
permissions -rw-r--r--
Bug 1397263 - move GNU_AS checks to toolchain.configure; r=glandium The GNU_AS check in old-configure depended on running with the value of $AS before it gets reset to just be the C compiler, which breaks when we move setting AS into moz.configure. This patch moves the GNU_AS check to toolchain.configure and changes it so that it works when the assembler is the C compiler. We do have to fix things slightly for clang, because the previous check was succeeding, but not because of clang: it was detecting the presence of "GNU" in the output for GNU ld/gold and a message about the GNU GPL.

Andreas Tolfsen <ato@sny.no> <ato@mozilla.com>
Nika Layzell <nika@thelayzells.com> Michael Layzell <michael@thelayzells.com>