Re: improving bootstrapping of WITH_CLANG_IS_CC

2012-09-13 Thread Yamaya Takashi
you send to wrong address, "\"freebsd-toolch...@freebsd.orgo\":" On 2012/09/13 01:38, Brooks Davis wrote: On Wed, Sep 12, 2012 at 10:01:14AM -0500, Brooks Davis wrote: On Wed, Sep 12, 2012 at 09:49:51PM +0900, Yamaya Takashi wrote: In Makefile.inc1, both WMAKECOMPILER_TYPE and WMAKE_COMPILER_T

Re: improving bootstrapping of WITH_CLANG_IS_CC

2012-09-12 Thread Brooks Davis
On Wed, Sep 12, 2012 at 09:49:51PM +0900, Yamaya Takashi wrote: > In Makefile.inc1, > both WMAKECOMPILER_TYPE and WMAKE_COMPILER_TYPE exist. > It's maybe bug. It is. I'm not actually sure why it didn't result in more invocations of gcc in my test. I'm testing a fix now. -- Brooks pgpKVIZxGLt7

Re: improving bootstrapping of WITH_CLANG_IS_CC

2012-09-12 Thread Brooks Davis
On Wed, Sep 12, 2012 at 03:43:39AM -0500, Warner Losh wrote: > > On Sep 10, 2012, at 4:56 PM, Brooks Davis wrote: > > .if ${COMPILER_TYPE} != "clang" > > > > I'd like to commit this in the next few days unless there are objections > > requiring a major redesign. > > Due to other $LIFE happening,

Re: improving bootstrapping of WITH_CLANG_IS_CC

2012-09-12 Thread Yamaya Takashi
In Makefile.inc1, both WMAKECOMPILER_TYPE and WMAKE_COMPILER_TYPE exist. It's maybe bug. ___ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubs

Re: improving bootstrapping of WITH_CLANG_IS_CC

2012-09-12 Thread Warner Losh
On Sep 10, 2012, at 4:56 PM, Brooks Davis wrote: > .if ${COMPILER_TYPE} != "clang" > > I'd like to commit this in the next few days unless there are objections > requiring a major redesign. Due to other $LIFE happening, I just scanned the patch, but I really like it. I'd also propose a COMPILER

improving bootstrapping of WITH_CLANG_IS_CC

2012-09-10 Thread Brooks Davis
Currently, when WITH_CLANG_IS_CC is set for the first time (/usr/bin/cc is gcc) you must also set CC=clang, CXX=clang++, and CPP=clang-cpp. This is due to the fact that we currently hardcode knowledge of which compiler cc is and key if off of WITH_CLANG_IS_CC. Thus while building things required t