Date: Wed, 13 Feb 2013 13:32:03 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Dimitry Andric <dim@FreeBSD.org> Cc: hackers@freebsd.org Subject: Re: Turn on CLANG_IS_CC when not building gcc Message-ID: <86obfo2y4c.fsf@ds4.des.no> In-Reply-To: <511B7F37.4010409@FreeBSD.org> (Dimitry Andric's message of "Wed, 13 Feb 2013 12:55:35 %2B0100") References: <86wquc3048.fsf@ds4.des.no> <511B7F37.4010409@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> writes: > Dag-Erling Sm=C3=B8rgrav <des@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 might fail in mysterious ways... :) Not mysterious at all - it fails while building xlint in the cross-tools phase because, while bsd.{lib,prog}.mk invoke the compiler as "clang" and not "cc", lint itself tries invokes "cc" to generate the lint libraries (/usr/libdata/lint/llib-l{posix,stdc}.ln). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86obfo2y4c.fsf>