Skip to content

Commit ba0c41b

Browse files
committed
Added -fpermissive flag.
This avoid build errors on old libraries. It may possibly be removed in the future after a period of transition.
1 parent e307987 commit ba0c41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: hardware/arduino/avr/platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
2525
compiler.c.elf.cmd=avr-gcc
2626
compiler.S.flags=-c -g -x assembler-with-cpp
2727
compiler.cpp.cmd=avr-g++
28-
compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD
28+
compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD
2929
compiler.ar.cmd=avr-ar
3030
compiler.ar.flags=rcs
3131
compiler.objcopy.cmd=avr-objcopy

0 commit comments

Comments
 (0)