[PATCH] D89690: [clang] update of the DragonFlyBSD's driver for the 5.8.x releases.

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 04:57:40 PDT 2020


devnexen created this revision.
devnexen added reviewers: sepavloff, jyknight.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
devnexen requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89690

Files:
  clang/lib/Driver/ToolChains/DragonFly.cpp


Index: clang/lib/Driver/ToolChains/DragonFly.cpp
===================================================================
--- clang/lib/Driver/ToolChains/DragonFly.cpp
+++ clang/lib/Driver/ToolChains/DragonFly.cpp
@@ -120,11 +120,11 @@
   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
 
   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
-    CmdArgs.push_back("-L/usr/lib/gcc50");
+    CmdArgs.push_back("-L/usr/lib/gcc80");
 
     if (!Args.hasArg(options::OPT_static)) {
       CmdArgs.push_back("-rpath");
-      CmdArgs.push_back("/usr/lib/gcc50");
+      CmdArgs.push_back("/usr/lib/gcc80");
     }
 
     if (D.CCCIsCXX()) {
@@ -189,7 +189,7 @@
 
   getFilePaths().push_back(getDriver().Dir + "/../lib");
   getFilePaths().push_back("/usr/lib");
-  getFilePaths().push_back("/usr/lib/gcc50");
+  getFilePaths().push_back("/usr/lib/gcc80");
 }
 
 Tool *DragonFly::buildAssembler() const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89690.299010.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201019/9174f7ee/attachment.bin>


More information about the cfe-commits mailing list