1 diff -aur avr/platform.txt avr.new/platform.txt
2 --- avr/platform.txt 2016-09-21 10:05:40.000000000 +0200
3 +++ avr.new/platform.txt 2016-10-08 16:52:00.513630471 +0200
6 # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification
8 -name=Arduino AVR Boards
9 +name=Arch Linux Arduino AVR Boards
12 # AVR compile variables
14 compiler.warning_flags.all=-Wall -Wextra
16 # Default "compiler.path" is correct, change only if you want to override the initial value
17 -compiler.path={runtime.tools.avr-gcc.path}/bin/
18 +compiler.path=/usr/bin/
19 compiler.c.cmd=avr-gcc
20 compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
21 compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections
22 compiler.c.elf.cmd=avr-gcc
23 compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD
24 compiler.cpp.cmd=avr-g++
25 compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto
26 compiler.ar.cmd=avr-gcc-ar
28 compiler.objcopy.cmd=avr-objcopy
30 # AVR Uploader/Programmers tools
31 # ------------------------------
33 -tools.avrdude.path={runtime.tools.avrdude.path}
35 tools.avrdude.cmd.path={path}/bin/avrdude
36 tools.avrdude.config.path={path}/etc/avrdude.conf