diff options
author | Jimmy Hedman <jimmy.hedman@southpole.se> | 2014-01-21 21:57:35 +0100 |
---|---|---|
committer | Jimmy Hedman <jimmy.hedman@southpole.se> | 2014-01-21 21:57:35 +0100 |
commit | f01025a70d6c11c09e32033195f4a9396462fb05 (patch) | |
tree | 926783f50e4e2d43c6c2dc06437eef5a1afb823f /platform.txt | |
parent | 46b0ada9a941607de0a2df80bf7f58d3a959ff57 (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.
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 2 |
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 |