You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
131
+
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
132
132
C_FLAGS+="$item"
133
133
fi
134
134
fi
@@ -141,7 +141,7 @@ str=`printf '%b' "$str"` #unescape the string
141
141
set -- $str
142
142
foritemin"${@:2:${#@}-5}";do
143
143
prefix="${item:0:2}"
144
-
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
144
+
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$item"!="-fno-lto"&&"$prefix"!="-O" ]];then
145
145
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
146
146
AS_FLAGS+="$item"
147
147
if [[ $C_FLAGS==*"$item"* ]];then
@@ -160,7 +160,7 @@ str=`printf '%b' "$str"` #unescape the string
160
160
set -- $str
161
161
foritemin"${@:2:${#@}-5}";do
162
162
prefix="${item:0:2}"
163
-
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
163
+
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$item"!="-fno-lto"&&"$prefix"!="-O" ]];then
164
164
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
0 commit comments