From f01025a70d6c11c09e32033195f4a9396462fb05 Mon Sep 17 00:00:00 2001 From: Jimmy Hedman Date: Tue, 21 Jan 2014 21:57:35 +0100 Subject: Compile with -x assembler-with-cpp instead of -assembler-with-cpp. - Newer avr-gcc doesn't use -assembler-with-cpp, but uses -x assembler-with-cpp. This works with older compilers as well. --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 3066ce4..2adf29f 100644 --- a/platform.txt +++ b/platform.txt @@ -17,7 +17,7 @@ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD compiler.c.elf.flags=-Os -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc -compiler.S.flags=-c -g -assembler-with-cpp +compiler.S.flags=-c -g -x assembler-with-cpp compiler.cpp.cmd=avr-g++ compiler.cpp.flags=-c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD compiler.ar.cmd=avr-ar -- cgit v1.2.3-18-g5258