From 0c09aa10d0ce3da5902f2ea1204e0a4f1c89d373 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Wed, 23 Nov 2016 14:45:54 +0100 Subject: [AVR] Add -MMD flag to generate depencencies files for S targets --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-18-g5258