This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]