Skip to content

Commit 1a5743a

Browse files
authored
remove -fno-lto
1 parent a3d1f61 commit 1a5743a

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
@@ -121,7 +121,7 @@ str=`printf '%b' "$str"` #unescape the string
121121
set -- $str
122122
for item in "${@:2:${#@}-5}"; do
123123
prefix="${item:0:2}"
124-
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$prefix" != "-O" ]]; then
124+
if [[ "$prefix" != "-I" && "$prefix" != "-D" && "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" && "$item" != "-fno-lto" && "$prefix" != "-O" ]]; then
125125
if [[ "${item:0:23}" != "-mfix-esp32-psram-cache" && "${item:0:18}" != "-fmacro-prefix-map" && "${item:0:20}" != "-fdiagnostics-color=" && "${item:0:19}" != "-fdebug-prefix-map=" ]]; then
126126
AS_FLAGS+="$item "
127127
if [[ $C_FLAGS == *"$item"* ]]; then

0 commit comments

Comments
 (0)