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
127
117
C_FLAGS+="$item"
@@ -139,11 +129,6 @@ for item in "${@:2:${#@}-5}"; do
139
129
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
140
130
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
141
131
AS_FLAGS+="$item"
142
-
if [[ $C_FLAGS==*"$item"* ]];then
143
-
PIO_CC_FLAGS+="$item"
144
-
else
145
-
PIO_AS_FLAGS+="$item"
146
-
fi
147
132
fi
148
133
fi
149
134
done
@@ -158,20 +143,10 @@ for item in "${@:2:${#@}-5}"; do
158
143
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
159
144
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