Mark compiler include paths as -cxx-isystem (ROOT-8991).

This commit is contained in:
Axel Naumann 2017-12-06 04:11:26 +01:00 committed by sftnight
parent b55066ffea
commit 2264e8c66f

View File

@ -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;
}