From cce534e0d6beb3285f3a280de04abc5e3e506d32 Mon Sep 17 00:00:00 2001 From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun, 17 Dec 2006 13:46:58 +0000 Subject: [PATCH] 2006-12-17 Matthias Klose <doko@debian.org> PR libstdc++/11953 * gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119986 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/linux.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 45cecefc3418..86cff5c55be1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-17 Matthias Klose <doko@debian.org> + + PR libstdc++/11953 + * gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend. + 2006-12-17 Steven Bosscher <steven@gcc.gnu.org> * cse.c (cse_find_path): Don't wrap a gcc_assert in ENABLE_CHECKING. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index a56c1cc683ff..303ce1d0a5a3 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 -- GitLab