diff options
author | Matthias Klose <doko@debian.org> | 2006-12-17 13:46:58 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2006-12-17 13:46:58 +0000 |
commit | 23f351630bf38802005b873256d744c68c39a8ce (patch) | |
tree | dd75db8595f43a71733ad12c09a90ed8c946b45c /gcc/config/mips/linux.h | |
parent | 27511c652d48c3cd9d49aabb9da35c58b5813b02 (diff) | |
download | gcc-23f351630bf38802005b873256d744c68c39a8ce.zip gcc-23f351630bf38802005b873256d744c68c39a8ce.tar.gz gcc-23f351630bf38802005b873256d744c68c39a8ce.tar.bz2 |
re PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)
2006-12-17 Matthias Klose <doko@debian.org>
PR libstdc++/11953
* gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend.
From-SVN: r119986
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r-- | gcc/config/mips/linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index a56c1cc..303ce1d 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -90,7 +90,7 @@ Boston, MA 02110-1301, USA. */ } while (0) #undef SUBTARGET_CPP_SPEC -#define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}" +#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" /* A standard GNU/Linux mapping. On most targets, it is included in CC1_SPEC itself by config/linux.h, but mips.h overrides CC1_SPEC |