Re: Building world with clang

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Wed, 18 Aug 2010 11:15:51 +0200
Dimitry Andric <dimitry_at_andric.com> writes:
> Alexander Kabaev <kabaev_at_gmail.com> writes:
> > Does method 1) work fine with 'make buildenv'? I doubt that. I would
> > strongly suggest we should not lose this feature. I do not like the
> > idea of having to depend on -isystem in CFLAGS in such an environment. 
> I have not tested make buildenv with this method, but since ${CC} is
> modified, not ${CFLAGS}, there is a reasonable chance that it might
> work. :)

I'm not a big fan of "reasonable chances" when it comes to the
toolchain.

> Note a similar method is already being using for the build32 stage on
> amd64, where ${CC} has a bunch of flags (including -isystem, -L and -B)
> appended.

No, what is used is a variant of method 1 *on top of* method 2 for a
very specific case.  You need "a special version of clang" (method 2)
anyway to support cross-building.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Wed Aug 18 2010 - 07:15:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC