mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Merge pull request #14444 from Jason2866/option_lto
Use linker Option `lto` for ESP32
This commit is contained in:
commit
e4d295d631
@ -7,11 +7,13 @@ build_unflags = ${esp_defaults.build_unflags}
|
|||||||
-Wincompatible-pointer-types
|
-Wincompatible-pointer-types
|
||||||
-Wnonnull-compare
|
-Wnonnull-compare
|
||||||
-fexceptions
|
-fexceptions
|
||||||
|
-fno-lto
|
||||||
-Wpointer-arith
|
-Wpointer-arith
|
||||||
build_flags = ${esp_defaults.build_flags}
|
build_flags = ${esp_defaults.build_flags}
|
||||||
-Wno-switch-unreachable
|
-Wno-switch-unreachable
|
||||||
-Wno-stringop-overflow
|
-Wno-stringop-overflow
|
||||||
-fno-exceptions
|
-fno-exceptions
|
||||||
|
-flto
|
||||||
-DBUFFER_LENGTH=128
|
-DBUFFER_LENGTH=128
|
||||||
-DHTTP_UPLOAD_BUFLEN=2048
|
-DHTTP_UPLOAD_BUFLEN=2048
|
||||||
-DMQTT_MAX_PACKET_SIZE=1200
|
-DMQTT_MAX_PACKET_SIZE=1200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user