Skip to content

Commit

Permalink
use LTO for riscv too (arendst#20119)
Browse files Browse the repository at this point in the history
LTO riscv issue is fixed in gcc used for building core 3
  • Loading branch information
Jason2866 authored Nov 28, 2023
1 parent d0f47ef commit 59c22b6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions platformio_tasmota_core3_env_sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,9 @@ lib_ignore = ${env:arduino30.lib_ignore}
extends = env:arduino30
board = esp32c2
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-fno-lto
-DOTA_URL='""'
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}
Expand All @@ -142,34 +140,28 @@ lib_ignore = ${env:arduino30.lib_ignore}
extends = env:arduino30
board = esp32c3
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-fno-lto
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

[env:tasmota32c3cdc-arduino30]
extends = env:arduino30
board = esp32c3cdc
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-fno-lto
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

[env:tasmota32c6-arduino30]
extends = env:arduino30
board = esp32c6
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-fno-lto
-DFIRMWARE_ARDUINO30
-DOTA_URL='""'
monitor_filters = esp32_exception_decoder
Expand All @@ -179,10 +171,8 @@ lib_ignore = ${env:arduino30.lib_ignore}
extends = env:arduino30
board = esp32c6cdc
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-fno-lto
-DFIRMWARE_ARDUINO30
-DOTA_URL='""'
monitor_filters = esp32_exception_decoder
Expand All @@ -192,10 +182,8 @@ lib_ignore = ${env:arduino30.lib_ignore}
extends = env:arduino30
board = esp32c6cdc
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-fno-lto
-DFIRMWARE_ARDUINO30
-DUSE_MI_EXT_GUI
-DUSE_MI_ESP32
Expand Down

0 comments on commit 59c22b6

Please sign in to comment.