Mark compiler include paths as -cxx-isystem (ROOT-8991).
This commit is contained in:
parent
b55066ffea
commit
2264e8c66f
@ -125,7 +125,7 @@ namespace {
|
||||
cling::utils::LogNonExistantDirectory(Path);
|
||||
}
|
||||
else
|
||||
Args.addArgument("-I", Path.str());
|
||||
Args.addArgument("-cxx-isystem", Path.str());
|
||||
}
|
||||
}
|
||||
::pclose(PF);
|
||||
@ -164,7 +164,7 @@ namespace {
|
||||
}
|
||||
|
||||
for (llvm::StringRef Path : Paths)
|
||||
Args.addArgument("-I", Path.str());
|
||||
Args.addArgument("-cxx-isystem", Path.str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user