Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump Hmm, in addition to leaving out -lc, -nostdlibs als...
details: https://anonhg.NetBSD.org/src/rev/2b9043f4ed46
branches: trunk
changeset: 749170:2b9043f4ed46
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Nov 20 12:24:17 2009 +0000
description:
Hmm, in addition to leaving out -lc, -nostdlibs also leaves out
libgcc, and causes problems on some platforms. Currently there is
no easy way to say "link against libgcc but not against libc", so
just comment out -nostdlibs until a better way is invented.
diffstat:
sys/rump/Makefile.rump | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r ab419eceb0f2 -r 2b9043f4ed46 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump Fri Nov 20 11:54:08 2009 +0000
+++ b/sys/rump/Makefile.rump Fri Nov 20 12:24:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.42 2009/11/17 16:17:06 pooka Exp $
+# $NetBSD: Makefile.rump,v 1.43 2009/11/20 12:24:17 pooka Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@@ -27,7 +27,10 @@
#CPPFLAGS+= -DDEBUG
# kernel libs should not get linked against libc
-LDFLAGS+= -nodefaultlibs
+# XXX: actually, we would like to enable this but cannot, since it
+# also leaves out libgcc, it causes problems on some platforms.
+# revisit some day.
+#LDFLAGS+= -nodefaultlibs
# make sure __NetBSD__ gets defined (for builds on non-NetBSD)
CPPFLAGS+= -D__NetBSD__
Home |
Main Index |
Thread Index |
Old Index