Module Name:    src
Committed By:   pooka
Date:           Tue Nov 17 16:17:06 UTC 2009

Modified Files:
        src/sys/rump: Makefile.rump

Log Message:
Don't link rump kernel libs against libc.  They have no host system
dependencies apart from indirect ones via rumpuser.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/rump/Makefile.rump

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/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.41 src/sys/rump/Makefile.rump:1.42
--- src/sys/rump/Makefile.rump:1.41	Sun Sep 13 22:51:41 2009
+++ src/sys/rump/Makefile.rump	Tue Nov 17 16:17:06 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rump,v 1.41 2009/09/13 22:51:41 pooka Exp $
+#	$NetBSD: Makefile.rump,v 1.42 2009/11/17 16:17:06 pooka Exp $
 #
 
 WARNS?=		3	# XXX: src/sys won't compile with -Wsign-compare yet
@@ -26,6 +26,9 @@
 CPPFLAGS+=	-nostdinc -I${RUMPTOP}/..
 #CPPFLAGS+=	-DDEBUG
 
+# kernel libs should not get linked against libc
+LDFLAGS+=	-nodefaultlibs
+
 # make sure __NetBSD__ gets defined (for builds on non-NetBSD)
 CPPFLAGS+=	-D__NetBSD__
 

Reply via email to