From: Jeroen Dobbelaere Date: Sun, 14 Apr 2002 14:27:33 +0000 (+0000) Subject: * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. X-Git-Tag: releases/gcc-3.3.0~5702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10fdbed6ecb70986a8d14d3c6ecb7b1b685b06f9;p=thirdparty%2Fgcc.git * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. From-SVN: r52296 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2933ce68b48..045f1d62bf1a 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 86e48c898cfa..947bd9c92268 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} \