Skip to content

Commit e48553e

Browse files
committed
Merge branch 'generate_dependencies_S' of https://github.com/facchinm/Arduino
2 parents bd4c79f + 35e45c9 commit e48553e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hardware/arduino/avr/platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ compiler.warning_flags.all=-Wall -Wextra
2121
compiler.path={runtime.tools.avr-gcc.path}/bin/
2222
compiler.c.cmd=avr-gcc
2323
compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
24-
compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections
24+
compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections
2525
compiler.c.elf.cmd=avr-gcc
26-
compiler.S.flags=-c -g -x assembler-with-cpp -flto
26+
compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD
2727
compiler.cpp.cmd=avr-g++
2828
compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto
2929
compiler.ar.cmd=avr-gcc-ar

hardware/arduino/sam/platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sectio
2323
compiler.c.elf.cmd=arm-none-eabi-gcc
2424
compiler.c.elf.flags=-Os -Wl,--gc-sections
2525
compiler.S.cmd=arm-none-eabi-gcc
26-
compiler.S.flags=-c -g -x assembler-with-cpp
26+
compiler.S.flags=-c -g -x assembler-with-cpp -MMD
2727
compiler.cpp.cmd=arm-none-eabi-g++
2828
compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD
2929
compiler.ar.cmd=arm-none-eabi-ar

0 commit comments

Comments
 (0)