[clang] [Driver] Implement ToolChain on Haiku (PR #66038)
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 00:16:14 PDT 2023
================
@@ -128,8 +253,14 @@ void Haiku::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
concat(getDriver().SysRoot, "/boot/system/develop/headers/c++/v1"));
}
-void Haiku::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
- llvm::opt::ArgStringList &CC1Args) const {
- addLibStdCXXIncludePaths(concat(getDriver().SysRoot, "/boot/system/develop/headers/c++"),
- getTriple().str(), "", DriverArgs, CC1Args);
+void Haiku::addClangTargetOptions(const ArgList &DriverArgs,
+ ArgStringList &CC1Args,
+ Action::OffloadKind) const {
+ if (!DriverArgs.hasFlag(options::OPT_fuse_init_array,
----------------
brad0 wrote:
Looking closer it appears this is not necessary.
https://github.com/llvm/llvm-project/pull/66038
More information about the cfe-commits
mailing list