From 309276ae12974c6ba20db83e079e48366af99e1b Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 15 Jan 2022 22:15:39 +0100 Subject: [PATCH] No `-flto` for C3 since it does not work correctly with --- platformio_tasmota_env32.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini index bdb2d7b5e..f623f135d 100644 --- a/platformio_tasmota_env32.ini +++ b/platformio_tasmota_env32.ini @@ -96,8 +96,10 @@ lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_ssl extends = env:tasmota32_base board = esp32c3 build_unflags = ${env:tasmota32_base.build_unflags} + -flto -mtarget-align build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32 + -fno-lto lib_ignore = TTGO TWatch Library Micro-RTSP