aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-06-11 12:51:02 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-06-11 12:51:02 -0700
commit281e78ae1c0c6cb25149f08e21d15ff5556f0271 (patch)
tree41d16520f2a5d34a179470d11de116ea0791c39e
parent437558e818b8beecea2c89ac7f718d0835dc1ea7 (diff)
downloadgcc-281e78ae1c0c6cb25149f08e21d15ff5556f0271.zip
gcc-281e78ae1c0c6cb25149f08e21d15ff5556f0271.tar.gz
gcc-281e78ae1c0c6cb25149f08e21d15ff5556f0271.tar.bz2
linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu). * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise. From-SVN: r43210
-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 ee5955e..4ceac4c 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 fb33b44..e2a6e60 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 62186ef..dc1a4c7 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