linux.h: Set CPLUSPLUS_CPP_SPEC.
authorDavid S. Miller <davem@redhat.com>
Wed, 5 Sep 2001 08:36:49 +0000 (01:36 -0700)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 5 Sep 2001 08:36:49 +0000 (01:36 -0700)
* config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
* config/sparc/linux64.h: Likewise.

From-SVN: r45402

gcc/ChangeLog
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h

index a87f0efcd8e77be02aa50f226177c9e8684fd252..2a924cc9f6277ee5f7ad94e0ab6077f9f79c7914 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-05  David S. Miller  <davem@redhat.com>
+
+       * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
+       * config/sparc/linux64.h: Likewise.
+
 2001-09-05  Andreas Jaeger  <aj@suse.de>
 
        * doc/invoke.texi (i386 Options): -mwide-multiply is not
index f85409b66c93824ebaedc7c9ef726dd5528f927c..44aa462ca61d9022b80e6999627ae5ea182fe2a8 100644 (file)
@@ -70,6 +70,10 @@ Boston, MA 02111-1307, USA.  */
 %{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
 "
 
+/* The GNU C++ standard library requires that these macros be defined.  */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
 #undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (sparc GNU/Linux with ELF)");
 
index d72f57f08ce37a1e7b25bd853e28e5a7c6340c17..675b81d9c03aa0a90ff34969a59bf98502b49b34 100644 (file)
@@ -124,6 +124,10 @@ Boston, MA 02111-1307, USA.  */
 
 #endif
 
+/* The GNU C++ standard library requires that these macros be defined.  */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
 #undef TARGET_VERSION
 #define TARGET_VERSION fprintf (stderr, " (sparc64 GNU/Linux with ELF)");