feat(build): enable LTO unconditionally for flash-size evaluation

This commit is contained in:
Balduin authored and Balduin committed 2026-11-23 22:59:21 +01:00
1 parent 509b5b8d1a
commit b5aa2722b7
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug;Release;RelWithDebIn
message(STATUS "cmake build type: ${CMAKE_BUILD_TYPE}")
# Check if LTO option and check if toolchain supports it
if(LTO)
if(TRUE) # test-lto-flash: LTO unconditionally enabled
include(CheckIPOSupported)
check_ipo_supported()
message(AUTHOR_WARNING "LTO enabled: LTO is highly experimental and should not be used in production")