[PATCH] D77334: [AVR] Remove duplicate specification of lib directory

Dennis van der Schagt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 2 14:06:38 PDT 2020


dennisschagt created this revision.
dennisschagt added a reviewer: dylanmckay.
Herald added subscribers: cfe-commits, Jim.
Herald added a project: clang.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77334

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


Index: clang/lib/Driver/ToolChains/AVR.cpp
===================================================================
--- clang/lib/Driver/ToolChains/AVR.cpp
+++ clang/lib/Driver/ToolChains/AVR.cpp
@@ -77,8 +77,6 @@
         std::string GCCRoot = std::string(GCCInstallation.getInstallPath());
         std::string LibcRoot = AVRLibcRoot.getValue();
 
-        getFilePaths().push_back(LibcRoot + std::string("/lib/") +
-                                 std::string(*FamilyName));
         getFilePaths().push_back(LibcRoot + std::string("/lib/") +
                                  std::string(*FamilyName));
         getFilePaths().push_back(GCCRoot + std::string("/") +


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77334.254606.patch
Type: text/x-patch
Size: 666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200402/7aeebc51/attachment-0001.bin>


More information about the cfe-commits mailing list