From 9a281c0b9658a27c4af98e2e468b141a70e60c31 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Wed, 1 Nov 2000 01:18:27 +0000 Subject: [PATCH] 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. --- gnu/lib/libgcc_r/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/lib/libgcc_r/Makefile b/gnu/lib/libgcc_r/Makefile index 7f733023e3c8..501549c46430 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"