mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-07 11:33:45 +08:00
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:
parent
b6f3b30947
commit
cf1c6ebf13
@ -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>
|
2007-08-07 Yaz Saito <saito@google.com>
|
||||||
Ian Lance Taylor <iant@google.com>
|
Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
|
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
|
||||||
#undef LIB_SPEC
|
#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. */
|
/* Standard include directory. In GNU, "/usr" is a four-letter word. */
|
||||||
#undef STANDARD_INCLUDE_DIR
|
#undef STANDARD_INCLUDE_DIR
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
#undef CPP_SPEC
|
#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
|
#undef CC1_SPEC
|
||||||
#define CC1_SPEC "%(cc1_cpu)"
|
#define CC1_SPEC "%(cc1_cpu)"
|
||||||
|
Loading…
Reference in New Issue
Block a user