Skip to content

Commit a3d1f61

Browse files
authored
remove "-fno-lto" frome linker flags
1 parent d96ca05 commit a3d1f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/copy-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ for item; do
211211
add_next=0
212212
is_script=0
213213
is_dir=0
214-
elif [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" && "${item:0:19}" != "-fdebug-prefix-map=" && "${item:0:17}" != "-Wl,--start-group" && "${item:0:15}" != "-Wl,--end-group" ]]; then
214+
elif [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" && "${item:0:19}" != "-fdebug-prefix-map=" && "${item:0:8}" != "-fno-lto" && "${item:0:17}" != "-Wl,--start-group" && "${item:0:15}" != "-Wl,--end-group" ]]; then
215215
LD_FLAGS+="$item "
216216
PIO_LD_FLAGS+="$item "
217217
fi

0 commit comments

Comments
 (0)