aboutsummaryrefslogtreecommitdiff
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
parent7325afd46f225eedd88701cf6017d0bae2d2b3e1 (diff)
downloadgcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.zip
gcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.tar.gz
gcc-27be769ce52a87d88ee63707fe8c0fb4fe7bfd06.tar.bz2
* config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r217286
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/avr/avr.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a9e26d..a8ecaea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-10 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ * config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
+
2014-11-10 Martin Liska <mliska@suse.cz>
* gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
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} \