Re: Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dag-Erling Smørgrav
Dimitry Andric writes: > Dag-Erling Smørgrav writes: > > The following patches (for head and stable/9) automatically enables > > CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? > This looks fine to me. Otherwise, if ${CC} isn't set to clang, > buildworld might fail in mysteriou

Re: Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dimitry Andric
On 2013-02-13 12:48, Dag-Erling Smørgrav wrote:> The following patches (for head and stable/9) automatically enable CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? This looks fine to me. Otherwise, if ${CC} isn't set to clang, buildworld might fail in mysterious ways... :)

Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dag-Erling Smørgrav
The following patches (for head and stable/9) automatically enable CLANG_IS_CC if GCC is disabled but CLANG is not. Any objections? Index: head/share/mk/bsd.own.mk === --- head/share/mk/bsd.own.mk(revision 246325) +++ head/share/