Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump Don't link rump kernel libs against libc. They hav...



details:   https://anonhg.NetBSD.org/src/rev/38e29b5b8183
branches:  trunk
changeset: 749086:38e29b5b8183
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 17 16:17:06 2009 +0000

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

diffstat:

 sys/rump/Makefile.rump |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2ecf545ad7e8 -r 38e29b5b8183 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Tue Nov 17 15:36:28 2009 +0000
+++ b/sys/rump/Makefile.rump    Tue Nov 17 16:17:06 2009 +0000
@@ -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__
 



Home | Main Index | Thread Index | Old Index