diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2014-04-30 19:35:59 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-06-25 10:14:35 +0200 |
commit | 29fce3601d2bbd1c5159995d360c64db9a42fd96 (patch) | |
tree | 4edbf2daa562b67d15a880e9d39a7ef6737e30da | |
parent | 3d2ebd3d8efffb521e1adb7ce0db28b790fa52b8 (diff) |
Fixed compilation error when targetting Mega. Error is caused by #2039 and this fix is just a workaround
-rw-r--r-- | platform.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt index f2f7ae1..d81aef6 100644 --- a/platform.txt +++ b/platform.txt @@ -17,7 +17,7 @@ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -flto # -w flag added to avoid printing a wrong warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 # This is fixed in gcc 4.8.3 and will be removed as soon as we update the toolchain -compiler.c.elf.flags=-Os -Wl,--gc-sections -w -flto +compiler.c.elf.flags=-w -flto -Os -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp compiler.cpp.cmd=avr-g++ |