aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2014-11-10 13:06:22 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2014-11-10 13:06:22 +0000
commit27be769ce52a87d88ee63707fe8c0fb4fe7bfd06 (patch)
treec87c827087dbc9ea557b7541e3b92a8b659adc63 /gcc/config/avr
parent7325afd46f225eedd88701cf6017d0bae2d2b3e1 (diff)
downloadgcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.zip
gcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.tar.gz
gcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.tar.bz2
* config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r217286
Diffstat (limited to 'gcc/config/avr')
-rw-r--r--gcc/config/avr/avr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 2522d6a..e34ffa2 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -495,6 +495,10 @@ typedef struct avr_args
#define DRIVER_SELF_SPECS " %{mmcu=*:-specs=device-specs/specs-%*%s %<mmcu=*} "
#define CPP_SPEC ""
+/* We want cc1plus used as a preprocessor to pick up the cpp spec from the
+ per-device spec files */
+#define CPLUSPLUS_CPP_SPEC "%(cpp)"
+
#define CC1_SPEC ""
#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \