freebsd-dev/gnu/lib/libgcc_r/Makefile
John Polstra 9a281c0b96 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.
2000-11-01 01:18:27 +00:00

8 lines
148 B
Makefile

# $FreeBSD$
LIB= gcc_r
CFLAGS+=-D_PTHREADS
CFLAGS+=-D'__GTHREAD_MUTEX_INIT_FUNCTION(m)=pthread_mutex_init(m, NULL)'
.include "../libgcc/Makefile"