archrelease: copy trunk to community-any
[ArchLinux/community.git] / arduino-avr-core / trunk / platform.patch
blobccc912104dfcd4ec8570eb62f326b123ca25b840
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
4 @@ -5,7 +5,7 @@
5 # For more info:
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
10 version=1.6.23
12 # AVR compile variables
13 @@ -18,14 +18,14 @@
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
27 compiler.ar.flags=rcs
28 compiler.objcopy.cmd=avr-objcopy
29 @@ -91,7 +91,7 @@
30 # AVR Uploader/Programmers tools
31 # ------------------------------
33 -tools.avrdude.path={runtime.tools.avrdude.path}
34 +tools.avrdude.path=/
35 tools.avrdude.cmd.path={path}/bin/avrdude
36 tools.avrdude.config.path={path}/etc/avrdude.conf