Hello Dimitry!
* Dimitry Andric <dimitry@andric.com> wrote:
> @@ -408,9 +411,10 @@ static bool getWindowsSDKDir(std::string &path) {
>
> void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
> const HeaderSearchOptions &HSOpts) {
> -#if 0 /* Remove unneeded include paths. */
> // FIXME: temporary hack: hard-coded paths.
> - AddPath("/usr/local/include", System, true, false, false);
> +#ifndef __FreeBSD__
> + AddPath(CLANG_PREFIX "/usr/local/include", System, true, false, false);
> +#endif
>
> // Builtin includes use #include_next directives and should be positioned
> // just prior C include dirs.
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.
--
Ed Schouten <ed@80386.nl>
WWW: http://80386.nl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkxqdTEACgkQ52SDGA2eCwVq7wCeJnfKESMUH+oGAd2EQVg1N7l5
6n0AnRE7nDHUrt2MKMqr+/tTR4VPSNxi
=ruLg
-----END PGP SIGNATURE-----