[PATCH] D127145: [Driver] add -lresolv for all but Android.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 6 13:57:22 PDT 2022
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
Herald added a subscriber: StephenFan.
================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:843
+ if (!TC.getTriple().isAndroid()) {
+ CmdArgs.push_back("-lresolv");
+ }
----------------
Omit brace for simple single-line body.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127145/new/
https://reviews.llvm.org/D127145
More information about the cfe-commits
mailing list