diff options
author | David S. Miller <davem@redhat.com> | 2001-09-05 01:36:49 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2001-09-05 01:36:49 -0700 |
commit | 2be1602e43dbadcace8ce16293d371a86b3bbc80 (patch) | |
tree | b9180bee58be25c2568ca250c04b6208a49a4013 | |
parent | a7939b1d587dc233a5d7d52a01437c7116ee39cd (diff) | |
download | gcc-2be1602e43dbadcace8ce16293d371a86b3bbc80.zip gcc-2be1602e43dbadcace8ce16293d371a86b3bbc80.tar.gz gcc-2be1602e43dbadcace8ce16293d371a86b3bbc80.tar.bz2 |
linux.h: Set CPLUSPLUS_CPP_SPEC.
* config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
* config/sparc/linux64.h: Likewise.
From-SVN: r45402
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a87f0ef..2a924cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index f85409b..44aa462 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -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)"); diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index d72f57f..675b81d 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -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)"); |