summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-11 19:51:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-11 19:51:02 +0000
commitd7d5ee15fb67abf299589b3570196dc4f5d173d9 (patch)
tree41d16520f2a5d34a179470d11de116ea0791c39e
parente3167824e58e332bc24f704e70c05729a939f5cf (diff)
downloadgcc-d7d5ee15fb67abf299589b3570196dc4f5d173d9.tar.gz
* config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43210 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/linux.h2
-rw-r--r--gcc/config/linux.h7
3 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ee5955e1a3c..4ceac4cb664 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-11 Richard Henderson <rth@redhat.com>
+
+ * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
+ * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
+
2001-06-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index fb33b44d34a..e2a6e6004d7 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -30,7 +30,7 @@ SUB_CPP_PREDEFINES
/* The GNU C++ standard library requires that these macros be defined. */
#undef CPLUSPLUS_CPP_SPEC
-#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp_cpu)"
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
#undef LIB_SPEC
#define LIB_SPEC \
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index 62186ef79b2..dc1a4c72113 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -75,12 +75,9 @@ Boston, MA 02111-1307, USA. */
#define CC1_SPEC "%{profile:-p}"
#endif
-/* The GNU C++ standard library requires that these macros be
- defined. */
+/* The GNU C++ standard library requires that these macros be defined. */
#undef CPLUSPLUS_CPP_SPEC
-#define CPLUSPLUS_CPP_SPEC \
- "-D_GNU_SOURCE \
- %(cpp_cpu)"
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
#ifndef USE_GNULIBC_1
#undef DEFAULT_VTABLE_THUNKS