Re: Resurrecting clang external toolchain support in Makefile.inc

2015-02-11 Thread Peter Grehan
Hi Warner, I like this patch better than the one I have. I’m not 100% sure the ‘else’ clause will work The else for CROSS_BINUTILS_PREFIX ? If so, yes, that appears to work: I'm building with in-tree binutils. Ok for this to be committed ? later, Peter.

Re: Resurrecting clang external toolchain support in Makefile.inc

2015-02-11 Thread Peter Grehan
Hi Bapt, In my opinion we should track down the last traces of XFLAGS and turn them into proper XCFLAGS and XCXXFLAGS, the intent was to get rid of XFLAGS because the name was confusing. so instead of adding XFLAGS to XC*FLAGS, the XFLAGS should juste be converted into XC*FLAGS directly in my o

Resurrecting clang external toolchain support in Makefile.inc

2015-02-10 Thread Peter Grehan
Hi toolchain folk, I've recently tried using the base system clang as an external toolchain i.e. make CROSS_COMPILER_PREFIX=/usr/bin/ buildworld .. and found that this no longer works after r273755 which split XFLAGS into XC/XCXXFLAGS. This appears to be because the XFLAGS definitions