llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-driver Author: Brad Smith (brad0) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/140189.diff 2 Files Affected: - (modified) clang/lib/Driver/ToolChains/Haiku.cpp (+2) - (modified) clang/test/Driver/haiku.c (+1) ``````````diff diff --git a/clang/lib/Driver/ToolChains/Haiku.cpp b/clang/lib/Driver/ToolChains/Haiku.cpp index 0e55a71280aff..a6f9582a66662 100644 --- a/clang/lib/Driver/ToolChains/Haiku.cpp +++ b/clang/lib/Driver/ToolChains/Haiku.cpp @@ -273,6 +273,8 @@ void Haiku::AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, "/boot/system/develop/headers/gnu")); addSystemInclude(DriverArgs, CC1Args, concat(D.SysRoot, "/boot/system/develop/headers/posix")); + addSystemInclude(DriverArgs, CC1Args, concat(D.SysRoot, + "/boot/system/develop/headers/gcc/include")); addSystemInclude(DriverArgs, CC1Args, concat(D.SysRoot, "/boot/system/develop/headers")); } diff --git a/clang/test/Driver/haiku.c b/clang/test/Driver/haiku.c index 3f421ab6e81e6..aeb9519e9479e 100644 --- a/clang/test/Driver/haiku.c +++ b/clang/test/Driver/haiku.c @@ -35,6 +35,7 @@ // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/glibc" // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/gnu" // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/posix" +// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/gcc/include" // CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers" // Check x86_64-unknown-haiku, X86_64 `````````` </details> https://github.com/llvm/llvm-project/pull/140189 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits