diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-01-31 14:00:46 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-01-31 14:00:46 +0000 |
commit | 7c1e8838b2025c80c0da49413051074f09b3615e (patch) | |
tree | 2b5156a658272f76e84473941c97d1d6227a2bb2 /boehm-gc | |
parent | c6092243c9d5320aad5a6f0d03c7d80658bd6c2e (diff) | |
download | gcc-7c1e8838b2025c80c0da49413051074f09b3615e.zip gcc-7c1e8838b2025c80c0da49413051074f09b3615e.tar.gz gcc-7c1e8838b2025c80c0da49413051074f09b3615e.tar.bz2 |
configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
* configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
* configure: Regenerate.
From-SVN: r169436
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 5 | ||||
-rwxr-xr-x | boehm-gc/configure | 4 | ||||
-rw-r--r-- | boehm-gc/configure.ac | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 1712ffbc..03a222e 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS. + * configure: Regenerate. + 2010-12-10 Iain Sandoe <iains@gcc.gnu.org> * powerpc_darwin_mach_dep.s: Update for m64. Add eh frames. diff --git a/boehm-gc/configure b/boehm-gc/configure index 78877e5..4f7490c 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -14910,7 +14910,9 @@ $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h # 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*) diff --git a/boehm-gc/configure.ac b/boehm-gc/configure.ac index 43be0b4..42cd419 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]) |