author Ted Mielczarek <>
Wed, 03 Oct 2018 20:29:29 -0400
changeset 498014 23f384237f7320a5f5ef99f19781feb0227faf7e
parent 474072 3c5ec0ff49dc7239a6e72d311e04b047ad6d50fc
child 501761 480b34db3172d2456b619681d4a05216221066f0
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.

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

For information on how to build Mozilla from the source code, see:

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla ( Instructions are at:

If you have a question about developing Mozilla, and can't find the solution
on, you can try asking your question in a
mozilla.* Usenet group, or on IRC at [The Mozilla news groups
are accessible on Google Groups, or with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:
            - or -