This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Avoid -Werror bootstrap failure with BUILD_CC=gcc-2.95
Neil Booth <neil@daikokuya.co.uk> writes:
> Zack Weinberg wrote:-
>
>> >> > Well, that's easy. The question is, do we want BUILD_CC == CC?
>> >>
>> >> You had to go and ask that. Now I am not sure.
>> >
>> > Well, am I right in saying that only native compiles ever enter stage 2?
>> > If so, it can't hurt for BUILD_CC to be the same as CC during stage2.
>>
>> See, that's what I thought, but maybe there's some weird scenario
>> where the user needs to override BUILD_CC during stage 2. Except I
>> can't think of one.
>
> There's an easy way to find out. This works for me. OK?
>
> Neil.
>
> * Makefile.in (stage2_build, stage3_build, stage4_build)
> : Set BUILD_CC to the same as CC.
OK.
zw