We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdffb2d commit 6f74581Copy full SHA for 6f74581
hardware/arduino/avr/platform.txt
@@ -15,7 +15,9 @@ version=1.5.6
15
compiler.path={runtime.ide.path}/hardware/tools/avr/bin/
16
compiler.c.cmd=avr-gcc
17
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -flto
18
-compiler.c.elf.flags=-Os -Wl,--gc-sections -flto
+# -w flag added to avoid printing a wrong warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396
19
+# This is fixed in gcc 4.8.3 and will be removed as soon as we update the toolchain
20
+compiler.c.elf.flags=-Os -Wl,--gc-sections -w -flto
21
compiler.c.elf.cmd=avr-gcc
22
compiler.S.flags=-c -g -x assembler-with-cpp
23
compiler.cpp.cmd=avr-g++
0 commit comments