summaryrefslogtreecommitdiff
path: root/boehm-gc/threadlibs.c
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-16 09:01:40 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-16 09:01:40 +0000
commitfa4ee1f113cb5cb7452551cdd2a608656c06a45c (patch)
tree483dc5098530e605b23e445c94fcdfdfec0d9b23 /boehm-gc/threadlibs.c
parent380cddab526fcf3c2f33dc8ebeb61c2d42703f41 (diff)
downloadgcc-fa4ee1f113cb5cb7452551cdd2a608656c06a45c.tar.gz
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/threadlibs.c')
-rw-r--r--boehm-gc/threadlibs.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/boehm-gc/threadlibs.c b/boehm-gc/threadlibs.c
index 0ac54510cc3..991647ee849 100644
--- a/boehm-gc/threadlibs.c
+++ b/boehm-gc/threadlibs.c
@@ -9,21 +9,16 @@ int main()
"-Wl,--wrap -Wl,pthread_detach "
"-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
# endif
-# if defined(LINUX_THREADS)
- printf("-lpthread\n");
+# if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
+ || defined(GC_FREEBSD_THREADS)
+ printf("-lpthread\n");
# endif
-# if defined(IRIX_THREADS)
- printf("-lpthread\n");
-# endif
-# if defined(HPUX_THREADS)
+# if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
printf("-lpthread -lrt\n");
# endif
-# ifdef SOLARIS_THREADS
+# if defined(GC_SOLARIS_THREADS)
printf("-lthread -ldl\n");
# endif
-# ifdef GC_OSF1_THREADS
- printf("-lpthread -lrt\n");
-# endif
return 0;
}