Hi Guenter,

Some initial thoughts on your patch:

- Why not init CC_FOR_BUILD to $(CC) instead of cc?

- Good thing with CFLAGS_FOR_BUILD but default init is missing. Default
to CFLAGS?

- Documentation?


Kind Regards,
Henrik

On Fri, 2012-04-20 at 17:11 +0200, Guenter Knauf wrote:
> Hi Henrik,
> Am 20.04.2012 14:59, schrieb Henrik Strand:
> > I've applied and tried the modified patch
> > (http://svn.apache.org/viewvc?view=revision&revision=1327907) but it
> > seems that the BUILD_FOR_CC value isn't propagated to the Makefile in
> > the server folder.
> >
> > Did it work for you? If so, what more did you have to do in order to get
> > it to work?
> I've just committed a follow-up patch:
> http://svn.apache.org/viewvc?view=revision&revision=1328390
> it is *required* that you re-run buildconf so that configure gets 
> re-created! After you've run configure with f.e.:
> CC_FOR_BUILD=gcc ./configure --host=...
> you can check ./build/config_vars.mk where CC_FOR_BUILD should appear 
> now and ./server/Makefile should now see the var ...
> please check and report back!
> 
> Now I would finally like to see that configure sets self CC_FOR_BUILD 
> when --host is specified ...
> Anybody who can help with this??
> I see that CC_FOR_BUILD appears already in config.guess ...
> Any help with this appreaciated!
> 
> Thanks, Gün.
> 
> 


Reply via email to