On FreeBSD, make sure /usr/local/include is *not* in the default include
path. This avoids accidentally including the wrong headers. Patch by Dimitry Andric! llvm-svn: 126761
This commit is contained in:
parent
2e5065d889
commit
315c1675e8
|
@ -428,6 +428,7 @@ void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
|
||||||
llvm::Triple::OSType os = triple.getOS();
|
llvm::Triple::OSType os = triple.getOS();
|
||||||
|
|
||||||
switch (os) {
|
switch (os) {
|
||||||
|
case llvm::Triple::FreeBSD:
|
||||||
case llvm::Triple::NetBSD:
|
case llvm::Triple::NetBSD:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue