OSDN Git Service

* config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2001 08:36:49 +0000 (08:36 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2001 08:36:49 +0000 (08:36 +0000)
* config/sparc/linux64.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45402 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a87f0ef..2a924cc 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 f85409b..44aa462 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 d72f57f..675b81d 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)");