summaryrefslogtreecommitdiff
path: root/boehm-gc/configure.ac
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-01 10:19:18 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-01 10:19:18 +0000
commita97c0e1e336366cd53fcd95e00e49fd72b154fa6 (patch)
treee82424aba4ceeda9dfa0e50d5a314603ca415e3d /boehm-gc/configure.ac
parent6bf1e21f89e43e23336eaa4ee4f40987cd01d495 (diff)
downloadgcc-a97c0e1e336366cd53fcd95e00e49fd72b154fa6.tar.gz
2011-02-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 169468 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@169469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure.ac')
-rw-r--r--boehm-gc/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/boehm-gc/configure.ac b/boehm-gc/configure.ac
index 43be0b4866d..42cd4190df9 100644
--- a/boehm-gc/configure.ac
+++ b/boehm-gc/configure.ac
@@ -193,7 +193,9 @@ case "$THREADS" in
# The alternate thread library was only introduced in Solaris 8 and
# became the default in Solaris 9, so no need for the special code
# above otherwise.
- THREADLIBS=-lpthread
+ # nanosleep, sched_yield, and sem_* only live in librt before
+ # Solaris 11.
+ THREADLIBS="-lpthread -lrt"
;;
*-*-irix*)
AC_DEFINE(GC_IRIX_THREADS,1,[support for Irix pthreads])