aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2016-11-23 14:45:54 +0100
committerMartino Facchin <m.facchin@arduino.cc>2016-11-23 14:46:04 +0100
commit0c09aa10d0ce3da5902f2ea1204e0a4f1c89d373 (patch)
tree86b5f065b53a6e9e1c73abecd2f0947e7195d46a /platform.txt
parent77bf88c6329d30ccb3c8fcefe1491021974b19aa (diff)
[AVR] Add -MMD flag to generate depencencies files for S targets
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt
index affe548..be39be7 100644
--- a/platform.txt
+++ b/platform.txt
@@ -23,7 +23,7 @@ compiler.c.cmd=avr-gcc
compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
compiler.c.elf.flags={compiler.warning_flags} -Os -flto -fuse-linker-plugin -Wl,--gc-sections
compiler.c.elf.cmd=avr-gcc
-compiler.S.flags=-c -g -x assembler-with-cpp -flto
+compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD
compiler.cpp.cmd=avr-g++
compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto
compiler.ar.cmd=avr-gcc-ar