From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 11:59:59 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAE7B106564A for ; Tue, 17 Aug 2010 11:59:59 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (unknown [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 9FDF28FC12 for ; Tue, 17 Aug 2010 11:59:59 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 12E982A28CD4; Tue, 17 Aug 2010 13:59:59 +0200 (CEST) Date: Tue, 17 Aug 2010 13:59:59 +0200 From: Ed Schouten To: Dimitry Andric Message-ID: <20100817115959.GY2978@hoeg.nl> References: <4C6A7357.8000606@andric.com> <20100817114033.GX2978@hoeg.nl> <4C6A78C5.1050405@andric.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iRaAnoDFBoP0sW/E" Content-Disposition: inline In-Reply-To: <4C6A78C5.1050405@andric.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Current Subject: Re: Building world with clang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 11:59:59 -0000 --iRaAnoDFBoP0sW/E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dimitry Andric wrote: > On 2010-08-17 13:40, Ed Schouten wrote: > >> +#ifndef __FreeBSD__ > >> + AddPath(CLANG_PREFIX "/usr/local/include", System, true, false, fal= se); > >> +#endif > >> =20 > >> // Builtin includes use #include_next directives and should be posi= tioned > >> // just prior C include dirs. > >=20 > > Hmmm... Do we really want this? /usr/local/include is omitted from our > > compiler include paths on purpose, to prevent accidental linkage against > > pieces of software built from ports. >=20 > That is why it says "#ifndef __FreeBSD__" :) I just changed the "#if > 0" from the clangbsd tree to this, so it is more palatable for upstream. Sorry about that. I only read the `#if 0' part. --=20 Ed Schouten WWW: http://80386.nl/ --iRaAnoDFBoP0sW/E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxqeb8ACgkQ52SDGA2eCwVaYACffL3NLvy2GQ13u5CKzQcpDVbz T/QAn3ifBlsbVv+whLUJg2UUAniCffnO =gom6 -----END PGP SIGNATURE----- --iRaAnoDFBoP0sW/E--