summaryrefslogtreecommitdiff
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 06:34:06 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 06:34:06 +0000
commit8786a5e0d907f03e8823ac7f5caa8cb62e8623c2 (patch)
tree354c8d058e5c9e01c5fbe84623bdc7fb4ff41f30 /gcc/config/gnu.h
parent19b643d7568975c304af0e76372d35a7605fcfbc (diff)
downloadgcc-8786a5e0d907f03e8823ac7f5caa8cb62e8623c2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127289 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r--gcc/config/gnu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
index 79c64c77ba9..93b94b1aa9c 100644
--- a/gcc/config/gnu.h
+++ b/gcc/config/gnu.h
@@ -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