[PATCH] D107672: [AVR][clang] Search for avr-libc in $SYSROOT/avr

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 6 19:25:50 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG71e71067f3fa: [AVR][clang] Add '$SYSROOT/avr' to possible avr-libc locations (authored by mhjacobson, committed by benshi001).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107672/new/

https://reviews.llvm.org/D107672

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
@@ -298,6 +298,7 @@
 }
 
 const StringRef PossibleAVRLibcLocations[] = {
+    "/avr",
     "/usr/avr",
     "/usr/lib/avr",
 };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107672.364922.patch
Type: text/x-patch
Size: 319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210807/966fff7f/attachment.bin>


More information about the cfe-commits mailing list