Module Name: src
Committed By: pooka
Date: Wed Mar 25 14:05:03 UTC 2009
Modified Files:
src/sys/rump/librump/rumpuser: Makefile
Log Message:
Need to compile with -D_REENTRANT, otherwise calling putchar() can
cause libc to commit suicide (!!!).
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/rump/librump/rumpuser/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpuser/Makefile
diff -u src/sys/rump/librump/rumpuser/Makefile:1.14 src/sys/rump/librump/rumpuser/Makefile:1.15
--- src/sys/rump/librump/rumpuser/Makefile:1.14 Tue Jan 20 21:43:13 2009
+++ src/sys/rump/librump/rumpuser/Makefile Wed Mar 25 14:05:03 2009
@@ -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 @@
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.