[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
This commit is contained in:
Dylan McKay 2020-06-19 17:34:59 +12:00
parent d938ec4509
commit 03b0831144
1 changed files with 0 additions and 2 deletions

View File

@ -77,8 +77,6 @@ AVRToolChain::AVRToolChain(const Driver &D, const llvm::Triple &Triple,
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("/") +