Skip to content

Commit 71e7106

Browse files
mhjacobsonbenshi001
authored andcommitted
[AVR][clang] Add '$SYSROOT/avr' to possible avr-libc locations
Reviewed by: benshi001 Differential Revision: https://reviews.llvm.org/D107672
1 parent 5a2a179 commit 71e7106

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/ToolChains/AVR.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ llvm::Optional<unsigned> GetMCUSectionAddressData(StringRef MCUName) {
298298
}
299299

300300
const StringRef PossibleAVRLibcLocations[] = {
301+
"/avr",
301302
"/usr/avr",
302303
"/usr/lib/avr",
303304
};

0 commit comments

Comments
 (0)