Skip to content

Commit

Permalink
Fixed build issue (see #27561)
Browse files Browse the repository at this point in the history
  • Loading branch information
vehystrix committed Dec 5, 2024
1 parent df36983 commit b8aa568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildroot/share/PlatformIO/scripts/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def search_compiler(env):
if ppath.match(env['PROJECT_PACKAGES_DIR'] + "/**/bin"):
for gpath in ppath.glob(gcc_exe):
# Skip '*-elf-g++' (crosstool-NG) except for xtensa32
if not "xtensa32" not in str(gpath) and gpath.stem.endswith('-elf-g++'):
if not (("xtensa32" not in str(gpath)) and gpath.stem.endswith('-elf-g++')):
gccpath = str(gpath.resolve())
break

Expand Down

0 comments on commit b8aa568

Please sign in to comment.