We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47daff6 commit acb7dc6Copy full SHA for acb7dc6
mbed-os-to-arduino
@@ -169,6 +169,10 @@ generate_flags () {
169
for fl in c cxx ld; do
170
jq -r '.flags | .[] | select(. != "-MMD")' ./BUILD/"$BOARDNAME"/GCC_ARM${PROFILE}/.profile-${fl} \
171
> "$ARDUINOVARIANT"/${fl}flags.txt
172
+ if [[ $ARDUINOVARIANT == *PORTENTA* ]]; then
173
+ echo "Patching '-fno-exceptions' flag for $ARDUINOVARIANT/${fl}flags.txt"
174
+ sed -i '/-fno-exceptions/d' "$ARDUINOVARIANT"/${fl}flags.txt
175
+ fi
176
done
177
echo " done."
178
}
@@ -334,7 +338,6 @@ echo
334
338
335
339
# TODO
336
340
# - Add include path for rpc library to envie
337
-# - Remove -fno-exception from Envie cppflags
341
#
342
343
exit 0
0 commit comments