From a97c0e1e336366cd53fcd95e00e49fd72b154fa6 Mon Sep 17 00:00:00 2001 From: bstarynk Date: Tue, 1 Feb 2011 10:19:18 +0000 Subject: 2011-02-01 Basile Starynkevitch 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 --- boehm-gc/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boehm-gc/configure.ac') 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]) -- cgit v1.2.1