Skip to content

Commit

Permalink
drop /usr/local/include path
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans committed Jun 14, 2017
1 parent 4180bb4 commit 4959d77
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Driver/ToolChains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4475,9 +4475,6 @@ void Linux::AddFlangSystemIncludeArgs(const ArgList &DriverArgs,
IncludePathList.push_back(P.str());
}

if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
IncludePathList.push_back(SysRoot + "/usr/local/include");

if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
SmallString<128> P(D.ResourceDir);
llvm::sys::path::append(P, "include");
Expand Down

0 comments on commit 4959d77

Please sign in to comment.