================ @@ -745,7 +745,13 @@ std::string ToolChain::buildCompilerRTBasename(const llvm::opt::ArgList &Args, std::string ArchAndEnv; if (AddArch) { StringRef Arch = getArchNameForCompilerRTLib(*this, Args); - const char *Env = TT.isAndroid() ? "-android" : ""; + const char *Env = NULL; + if (TT.isAndroid()) + Env = "-android"; + else if (TT.isOHOSFamily()) ---------------- phuang wrote:
@nico has confirmed the gn bot problem which is becasue increamental build with some lagcy files in the build output folder. I will remove the unnecessary changes in ToolChian.cpp. https://github.com/llvm/llvm-project/pull/120159 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits