From 06868f4cd39a9dba82b5014d1208feb1e1f0d750 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 14 Jun 2016 19:31:52 +0200 Subject: Added -fpermissive flag. This avoid build errors on old libraries. It may possibly be removed in the future after a period of transition. --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform.txt') 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 -- cgit v1.2.3-18-g5258