This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fixing vs WARN_CFLAGS vs cross builds
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Jim Wilson <wilson at specifixinc dot com>
- Cc: Nathanael Nerode <neroden at twcny dot rr dot com>, gcc at gcc dot gnu dot org, dj at redhat dot com
- Date: Wed, 31 Mar 2004 01:40:14 -0800
- Subject: Re: fixing vs WARN_CFLAGS vs cross builds
- References: <20040331044323.GA4614@twcny.rr.com><406A7CD9.7020003@specifixinc.com>
Jim Wilson <wilson@specifixinc.com> writes:
> > underlying problem. The recursive make command in the fixinc.sh rule
> > should perhaps be setting ALL_CFLAGS instead of CFLAGS because the
> > default .c.o rule uses ALL_CFLAGS.
>
> My last reply got messed up somehow. Sorry.
>
> Or maybe the recursive make command in the fixinc.sh rule should be
> setting WARN_CFLAGS to empty, because it is already included in
> BUILD_CFLAGS if it is supposed to be used? I haven't checked to see
> which makes more sense. I'm guessing that my first suggestion was the
> right one though.
It would be nice to be rid of the recursive make invocation here, but
that's too much work to ask for.
zw