devnexen added inline comments.
================ Comment at: lib/Driver/ToolChains/CommonArgs.cpp:545 CmdArgs.push_back("-lpthread"); - CmdArgs.push_back("-lrt"); + if (TC.getTriple().getOS() != llvm::Triple::OpenBSD) + CmdArgs.push_back("-lrt"); ---------------- krytarowski wrote: > It's a matter of taste, but I would try to omit nested `if`. I just went to the "lesser changes" route as the case here is pretty simple. Repository: rC Clang https://reviews.llvm.org/D43818 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits