[PATCH] D127393: [Driver] Don't add -lresolv on FreeBSD

Kevin Athey via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 09:15:25 PDT 2022


kda accepted this revision.
kda added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:841
     CmdArgs.push_back("-lexecinfo");
   // There is no libresolv on Android.
+  if (!TC.getTriple().isAndroid() && !TC.getTriple().isOSFreeBSD())
----------------
Perhaps expand comment?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127393/new/

https://reviews.llvm.org/D127393



More information about the cfe-commits mailing list