diff options
author | jdp <jdp@FreeBSD.org> | 2000-11-01 01:18:27 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-11-01 01:18:27 +0000 |
commit | 61875350d305ddc93d316dcb34c26f87b6a2f807 (patch) | |
tree | c2a42d676a88067c2db5eaed01e0c32b7346f9fe /gnu | |
parent | 562386a823affe2afc1241361c6d822298dc24e5 (diff) | |
download | FreeBSD-src-61875350d305ddc93d316dcb34c26f87b6a2f807.zip FreeBSD-src-61875350d305ddc93d316dcb34c26f87b6a2f807.tar.gz |
Tell libgcc_r how to initialize a mutex before it uses it. This
fixes the immediate segmentation violations from some multithreaded
programs built on very up-to-date systems.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libgcc_r/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libgcc_r/Makefile b/gnu/lib/libgcc_r/Makefile index 7f73302..501549c 100644 --- a/gnu/lib/libgcc_r/Makefile +++ b/gnu/lib/libgcc_r/Makefile @@ -2,5 +2,6 @@ LIB= gcc_r CFLAGS+=-D_PTHREADS +CFLAGS+=-D'__GTHREAD_MUTEX_INIT_FUNCTION(m)=pthread_mutex_init(m, NULL)' .include "../libgcc/Makefile" |