From: Dylan McKay Date: Fri, 19 Jun 2020 05:34:59 +0000 (+1200) Subject: [AVR] Remove duplicate specification of lib directory X-Git-Tag: llvmorg-12-init~2576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03b0831144a9fe25aac81498b0a1dec82f4ec5df;p=platform%2Fupstream%2Fllvm.git [AVR] Remove duplicate specification of lib directory Reviewers: dylanmckay Reviewed By: dylanmckay Subscribers: Jim, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77334 --- diff --git a/clang/lib/Driver/ToolChains/AVR.cpp b/clang/lib/Driver/ToolChains/AVR.cpp index 04655d5..a86d6fa 100644 --- a/clang/lib/Driver/ToolChains/AVR.cpp +++ b/clang/lib/Driver/ToolChains/AVR.cpp @@ -79,8 +79,6 @@ AVRToolChain::AVRToolChain(const Driver &D, const llvm::Triple &Triple, 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("/") + std::string(*FamilyName));