Skip to content

Commit

Permalink
Fixed compilation error when targetting Mega. Error is caused by #2039
Browse files Browse the repository at this point in the history
…and this fix is just a workaround
  • Loading branch information
Federico Fissore committed Apr 30, 2014
1 parent b119e38 commit f42884d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/arduino/avr/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit f42884d

Please sign in to comment.