diff options
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform.txt b/platform.txt index 58af56b..66257ef 100644 --- a/platform.txt +++ b/platform.txt @@ -15,7 +15,9 @@ version=1.5.6 compiler.path={runtime.ide.path}/hardware/tools/avr/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -compiler.c.elf.flags=-Os -Wl,--gc-sections +# -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=-w -Os -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp compiler.cpp.cmd=avr-g++ @@ -77,8 +79,6 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).* tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf -tools.avrdude.cmd.path.linux={runtime.ide.path}/hardware/tools/avrdude -tools.avrdude.config.path.linux={runtime.ide.path}/hardware/tools/avrdude.conf tools.avrdude.upload.params.verbose=-v -v -v -v tools.avrdude.upload.params.quiet=-q -q |