* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
authorJeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 14 Apr 2002 14:27:33 +0000 (10:27 -0400)
From-SVN: r52296

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

index c2933ce68b48ca6494d34b77f2dd47628bfda04a..045f1d62bf1aeb75d5b33650e90eaedaeb87b4c8 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 86e48c898cfae334526355ff38b8f22ad77db789..947bd9c922681f6c5052167e4835b30c028f2d42 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} \