diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2016-06-14 19:31:52 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2016-07-25 12:49:07 +0200 |
commit | 06868f4cd39a9dba82b5014d1208feb1e1f0d750 (patch) | |
tree | 573a2061e11a42eed9835afbb6d2ada1e41d7770 /platform.txt | |
parent | 9a4f49b20eb6325abc81b9502e82d92f384ee4ac (diff) |
Added -fpermissive flag.
This avoid build errors on old libraries. It may possibly be removed in
the future after a period of transition.
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt index 50778f1..156f4df 100644 --- a/platform.txt +++ b/platform.txt @@ -25,7 +25,7 @@ compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp compiler.cpp.cmd=avr-g++ -compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD +compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD compiler.ar.cmd=avr-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy |