We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1225dcb commit cfa3aa6Copy full SHA for cfa3aa6
tools/prepare-libs.sh
@@ -245,7 +245,9 @@ echo " CFLAGS=[" >> "$AR_PLATFORMIO_PY"
245
set -- $PIO_C_FLAGS
246
last_item="${@: -1}"
247
for item in "${@:0:${#@}}"; do
248
- echo " \"$item\"," >> "$AR_PLATFORMIO_PY"
+ if [ "${item:0:1}" != "/" ]; then
249
+ echo " \"$item\"," >> "$AR_PLATFORMIO_PY"
250
+ fi
251
done
252
echo " \"$last_item\"" >> "$AR_PLATFORMIO_PY"
253
echo " ]," >> "$AR_PLATFORMIO_PY"
@@ -255,7 +257,9 @@ echo " CXXFLAGS=[" >> "$AR_PLATFORMIO_PY"
255
257
set -- $PIO_CXX_FLAGS
256
258
259
260
261
262
263
264
265
0 commit comments