[PATCH] gcc/Makefile.in gcc-3_0-branch, pass CFLAGS to stage1_build

DJ Delorie dj@redhat.com
Tue Mar 27 11:17:00 GMT 2001


> That won't work from the toplevel as STAGE1_CFLAGS currently isn't passed 
> down. Moreover Gordon's checked in patch always overrides the CFLAGS passed 
> to the stage1 with the CFLAGS passed to make, so
> currently wouldn't even work if the toplevel Makefile passed down 
> STAGE1_CFLAGS.

Without the patch, there is *no* way to specify the stage1 compile
flags.  Perhaps we should pass STAGE1_CFLAGS along to stage1_build
then?  We need to pass *something* along (and probably document it,
too).

> Moreover, I looked up the MAKEINFO issue again in the 
> current sources and it is still broken, MAKEINFO/MAKEINFOFLAGS are used 
> differently in the various language files and the C "info" target is still 
> built during stage1 :-(. That means that additionally to 
> CFLAGS=$(STAGE1_CFLAGS) we have to pass down MAKEINFO=$(MAKEINFO) and 
> MAKEINFOFLAGS=$(MAKEINFOFLAGS) to stage1.

That would be a separate patch, which I'd be happy to approve if you
write it up.



More information about the Gcc-patches mailing list