Skip to content

Commit bd469d2

Browse files
authored
wrong place
1 parent c775127 commit bd469d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/copy-libs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ for item in "${@:2:${#@}-5}"; do
134134
fi
135135
done
136136

137-
# Remove -std=gnu++2b from PIO_CXX_FLAGS
138-
PIO_CXX_FLAGS="${PIO_CXX_FLAGS/-std=gnu++2b/}"
139-
140137
#collect asm-flags
141138
str=`cat build/compile_commands.json | grep arduino-lib-builder-as.S | grep command | cut -d':' -f2 | cut -d',' -f1`
142139
str="${str:2:${#str}-1}" #remove leading space and quotes
@@ -315,6 +312,9 @@ for item; do
315312
fi
316313
done
317314

315+
# Remove -std=gnu++2b from PIO_CXX_FLAGS
316+
PIO_CXX_FLAGS="${PIO_CXX_FLAGS/-std=gnu++2b/}"
317+
318318
#
319319
# END OF DATA EXTRACTION FROM CMAKE
320320
#

0 commit comments

Comments
 (0)