gnu.h (CPP_SPEC): Add -pthread option.

2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * gcc/config/i386/gnu.h (CPP_SPEC): Add -pthread option.
        * gcc/config/gnu.h (LIB_SPEC): Likewise.

From-SVN: r127289
This commit is contained in:
Samuel Thibault 2007-08-08 06:34:06 +00:00 committed by Matthias Klose
parent b6f3b30947
commit cf1c6ebf13
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* gcc/config/i386/gnu.h (CPP_SPEC): Add -pthread option.
* gcc/config/gnu.h (LIB_SPEC): Likewise.
2007-08-07 Yaz Saito <saito@google.com>
Ian Lance Taylor <iant@google.com>

View File

@ -6,7 +6,7 @@
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
#undef LIB_SPEC
#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
/* Standard include directory. In GNU, "/usr" is a four-letter word. */
#undef STANDARD_INCLUDE_DIR

View File

@ -12,7 +12,7 @@
while (0)
#undef CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
#define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
#undef CC1_SPEC
#define CC1_SPEC "%(cc1_cpu)"