Skip to content

Commit

Permalink
Update header paths for assigner target
Browse files Browse the repository at this point in the history
  • Loading branch information
makxenov authored and nkaskov committed Jan 12, 2024
1 parent 80a8e0f commit 9266caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/Driver/ToolChains/Assigner.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ class LLVM_LIBRARY_VISIBILITY Assigner final : public ToolChain {
options::OPT_nostdlibinc)) {
return;
}
addExternCSystemInclude(DriverArgs, CC1Args, "/usr/include/zkllvm");
addExternCSystemInclude(DriverArgs, CC1Args, "/usr/lib/zkllvm/include/libc");
}
void AddClangCXXStdlibIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const override {
addSystemInclude(DriverArgs, CC1Args, "/usr/include/zkllvm/c++");
addSystemInclude(DriverArgs, CC1Args, "/usr/lib/zkllvm/include/c++/v1");
SmallString<128> ResourceDirInclude(getDriver().ResourceDir);
llvm::sys::path::append(ResourceDirInclude, "include");
addSystemInclude(DriverArgs, CC1Args, ResourceDirInclude);
Expand Down

0 comments on commit 9266caa

Please sign in to comment.