* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52296 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/linux-elf.h

index c2933ce..045f1d6 100644 (file)
@@ -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__,
index 86e48c8..947bd9c 100644 (file)
@@ -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} \