Skip to content

Commit

Permalink
Activating LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Jan 25, 2025
1 parent ae004a6 commit 6bd5387
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ build_flags =
-std=c++17
-std=gnu++17
-Os
-flto=auto
build_unflags =
-std=gnu++11
-std=gnu++11
-fno-lto
build_type = release
board_build.partitions = partitions.csv
extra_scripts = post:tools/safeboot.py
Expand Down

0 comments on commit 6bd5387

Please sign in to comment.