Need to compile with -D_REENTRANT, otherwise calling putchar() can
cause libc to commit suicide (!!!).
This commit is contained in:
parent
19165a6c8e
commit
c2f2875913
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2009/01/20 21:43:13 pooka Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2009/03/25 14:05:03 pooka Exp $
|
||||
#
|
||||
|
||||
LIB= rumpuser
|
||||
|
@ -7,6 +7,8 @@ WARNS= 4
|
|||
SRCS= rumpuser.c rumpuser_net.c
|
||||
SRCS+= rumpuser_pth.c
|
||||
|
||||
CPPFLAGS+= -D_REENTRANT
|
||||
|
||||
# Using this instead of the above makes it possible to link rump
|
||||
# without involving pthreads. Multithreaded operation will not
|
||||
# of course work correctly in case.
|
||||
|
|
Loading…
Reference in New Issue