Skip to content

Commit 4872fa2

Browse files
authored
add comment for LTO enable with HybridCompile
Add check for enabling LTO in Arduino build process.
1 parent 9bc893a commit 4872fa2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/frameworks/arduino.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ def has_psram_config():
599599
if has_unicore_flags():
600600
build_unflags += " -ustart_app_other_cores"
601601

602+
# Check for enabling LTO for Arduino HybridCompile part by unflagging -fno-lto
602603
if '-fno-lto' in build_unflags:
603604
flag_lto = True
604605

0 commit comments

Comments
 (0)