This is the mail archive of the
mailing list for the GCC project.
Re: 3.0 branch: wrong CFLAGS for gen* & fixinc
- To: gcc <gcc at gcc dot gnu dot org>, Loren James Rittle <rittle at labs dot mot dot com>,robertlipe at usa dot net
- Subject: Re: 3.0 branch: wrong CFLAGS for gen* & fixinc
- From: Bruce Korb <bkorb at pacbell dot net>
- Date: Thu, 04 Oct 2001 05:10:28 -0700
- Cc: bkorb at gnu dot org
- Organization: Home
> This was broken sometime in the last week. Without testing it, this
> change looks the most suspicious:
> 2001-10-01 Loren J. Rittle <firstname.lastname@example.org>
> * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
> (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
> later recursive make invocation.
> Here's the original argument for that patch:
> Loren, could you please investigate this problem, and either propose a
> fix asap or revert your changes until a better fix can be proposed?
I try to hide from the workings of the gcc/Makefile as much
as I possibly can. That is why fixinc is in a subdirectory. :-)
It is conceivable that someday fixinc will need to be compiled
twice, once with CC=$(HOST_CC) and once with CC=$(CC). Maybe
change the patch to use "FIXINC_CC" instead? It is probably too
late to isolate all the gen*.c programs into a subdirectory....