1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 13:22:19 +01:00

Merge branch '5_4_2' into integration

This commit is contained in:
J. Nick Koston
2025-07-22 13:07:08 -10:00
7 changed files with 24 additions and 16 deletions

View File

@@ -105,7 +105,7 @@ def clang_options(idedata):
# idedata contains include directories for all toolchains of this platform, only use those from the one in use
toolchain_dir = os.path.normpath(f"{idedata['cxx_path']}/../../")
for directory in idedata["includes"]["toolchain"]:
if directory.startswith(toolchain_dir):
if directory.startswith(toolchain_dir) and "picolibc" not in directory:
cmd.extend(["-isystem", directory])
# add library include directories using -isystem to suppress their errors