Skip to content

Commit 55c6dd1

Browse files
authored
Update copy-libs.sh
1 parent 0fa78a5 commit 55c6dd1

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
@@ -108,7 +108,7 @@ for item in "${@:2:${#@}-5}"; do
108108
elif [ "$prefix" = "-O" ]; then
109109
PIO_CC_FLAGS+="$item "
110110
elif [[ "$item" != "-Wall" && "$item" != "-Werror=all" && "$item" != "-Wextra" ]]; then
111-
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
111+
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=" && "${item:0:8}" != "-fno-lto" ]]; then
112112
C_FLAGS+="$item "
113113
fi
114114
fi

0 commit comments

Comments
 (0)