[Build] Fix solo1 builds due to wrongly set LTO flags

This commit is contained in:
TD-er
2025-11-30 02:34:40 +01:00
parent a47f2c011a
commit b01a6dccf2
+2 -2
View File
@@ -19,14 +19,14 @@ extra_scripts = pre:tools/pio/pre_esp32.py
; -mtext-section-literals may be required when building large builds
; However LTO cannot optimize builds with text section literals and thus will result in quite a lot larger builds (80k - 140k larger)
build_unflags = -Wall
-fno-lto
; -fno-lto
build_flags = ${core_esp32_IDF5_5_1__3_3_3_LittleFS.build_flags}
; ${mqtt_flags.build_flags}
-DMQTT_MAX_PACKET_SIZE=2048
-DCONFIG_FREERTOS_ASSERT_DISABLE
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
-fno-strict-aliasing
-flto=auto
; -flto=auto
-Wswitch
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO