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) +++

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... :)

Re: Turn on CLANG_IS_CC when not building gcc

2013-02-13 Thread Dag-Erling Smørgrav
Dimitry Andric d...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no 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