mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Fixed compilation error when targetting Mega. Error is caused by #2039 and this fix is just a workaround
This commit is contained in:
parent
6f74581bba
commit
b72f461b4c
@ -17,7 +17,7 @@ compiler.c.cmd=avr-gcc
|
|||||||
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD -flto
|
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
|
# -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
|
# 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.c.elf.cmd=avr-gcc
|
||||||
compiler.S.flags=-c -g -x assembler-with-cpp
|
compiler.S.flags=-c -g -x assembler-with-cpp
|
||||||
compiler.cpp.cmd=avr-g++
|
compiler.cpp.cmd=avr-g++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user