Skip to content

Commit

Permalink
[AVR][clang] Add '$SYSROOT/avr' to possible avr-libc locations
Browse files Browse the repository at this point in the history
Reviewed by: benshi001

Differential Revision: https://reviews.llvm.org/D107672
  • Loading branch information
mhjacobson authored and benshi001 committed Aug 7, 2021
1 parent 5a2a179 commit 71e7106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Driver/ToolChains/AVR.cpp
Expand Up @@ -298,6 +298,7 @@ llvm::Optional<unsigned> GetMCUSectionAddressData(StringRef MCUName) {
}

const StringRef PossibleAVRLibcLocations[] = {
"/avr",
"/usr/avr",
"/usr/lib/avr",
};
Expand Down

0 comments on commit 71e7106

Please sign in to comment.