aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Hedman <jimmy.hedman@southpole.se>2014-01-21 21:57:35 +0100
committerJimmy Hedman <jimmy.hedman@southpole.se>2014-01-21 21:57:35 +0100
commitf01025a70d6c11c09e32033195f4a9396462fb05 (patch)
tree926783f50e4e2d43c6c2dc06437eef5a1afb823f
parent46b0ada9a941607de0a2df80bf7f58d3a959ff57 (diff)
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.
-rw-r--r--platform.txt2
1 files changed, 1 insertions, 1 deletions
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