Date: Tue, 17 Aug 2010 13:59:59 +0200 From: Ed Schouten <ed@80386.nl> To: Dimitry Andric <dimitry@andric.com> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: Building world with clang Message-ID: <20100817115959.GY2978@hoeg.nl> In-Reply-To: <4C6A78C5.1050405@andric.com> References: <4C6A7357.8000606@andric.com> <20100817114033.GX2978@hoeg.nl> <4C6A78C5.1050405@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--iRaAnoDFBoP0sW/E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dimitry Andric <dimitry@andric.com> 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 <ed@80386.nl> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100817115959.GY2978>