Merge pull request #14444 from Jason2866/option_lto

Use linker Option `lto` for ESP32
This commit is contained in:
Jason2866 2022-01-14 23:38:16 +01:00 committed by GitHub
commit e4d295d631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -7,11 +7,13 @@ build_unflags = ${esp_defaults.build_unflags}
-Wincompatible-pointer-types
-Wnonnull-compare
-fexceptions
-fno-lto
-Wpointer-arith
build_flags = ${esp_defaults.build_flags}
-Wno-switch-unreachable
-Wno-stringop-overflow
-fno-exceptions
-flto
-DBUFFER_LENGTH=128
-DHTTP_UPLOAD_BUFLEN=2048
-DMQTT_MAX_PACKET_SIZE=1200