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.
This commit is contained in:
John Polstra 2000-11-01 01:18:27 +00:00
parent 7640314efa
commit 9a281c0b96

View File

@ -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"