aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/linux-elf.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2933ce..045f1d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
+
+ * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
+
2002-04-13 Mark Mitchell <mark@codesourcery.com>
* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 86e48c8..947bd9c 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -42,6 +42,10 @@ Boston, MA 02111-1307, USA. */
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
+/* The GNU C++ standard library requires that these macros be defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
/* Now we define the strings used to build the spec file. */
#define LIB_SPEC \
"%{shared: -lc} \