This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutils builds broken with -Werror
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>,Nick Clifton <nickc at redhat dot com>,Ian Lance Taylor <ian at airs dot com>,Richard Sandiford <rsandifo at redhat dot com>,Daniel Jacobowitz <drow at false dot org>,binutils at sourceware dot org
- Date: Tue, 22 Mar 2005 17:28:06 +0000
- Subject: Re: Binutils builds broken with -Werror
- Organization: CodeSourcery
- References: <20050316201339.GA17575@nevyn.them.org> <424051F7.6070909@redhat.com> <Pine.LNX.4.61L.0503221707340.19842@blysk.ds.pg.gda.pl>
On Tuesday 22 March 2005 17:12, Maciej W. Rozycki wrote:
> On Tue, 22 Mar 2005, Nick Clifton wrote:
> > Hmm, well I am not wedded to GNU make, but do other versions of make
> > support the $(subst FROM,TO,TEXT) function ? If not then can anyone
> > suggest a more portable way of achieving the same effect ?
>
> Well, since that -Werror is added by configure scripts in the first
> place, the most reasonable way of dealing with it is probably letting
> autoconf/automake do their jobs. This flag could be substituted
> separately instead of along other flags in WARN_CFLAGS and then omitted
> selectively for generated files -- automake permits overriding default
> compilation flags in templates on a file by file basis.
Does it? I thought that only worked on a per-library basis.
Paul