Commit 23f35163 by Matthias Klose Committed by Matthias Klose

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
parent 27511c65
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment