From 10fdbed6ecb70986a8d14d3c6ecb7b1b685b06f9 Mon Sep 17 00:00:00 2001 From: Jeroen Dobbelaere Date: Sun, 14 Apr 2002 14:27:33 +0000 Subject: [PATCH] * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. From-SVN: r52296 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/linux-elf.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2933ce68b4..045f1d62bf1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-04-14 Jeroen Dobbelaere + + * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. + 2002-04-13 Mark Mitchell * 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 86e48c898cf..947bd9c9226 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} \