From fc904d5b8bfa8fccca0ead0051e3f9e4374f6e7a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 6 Mar 2010 19:38:10 +0000 Subject: [PATCH] on both the mac and linux, /usr/local/include is treated as a "C++ Friendly" system header directory. This fixes PR6523. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97885 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/InitHeaderSearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index 4f972f0baf..cd749d221d 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -436,7 +436,7 @@ void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple) { break; } - AddPath("/usr/local/include", System, false, false, false); + AddPath("/usr/local/include", System, true, false, false); AddPath("/usr/include", System, false, false, false); } -- 2.40.0