Module Name: src
Committed By: pooka
Date: Fri Nov 20 12:24:17 UTC 2009
Modified Files:
src/sys/rump: Makefile.rump
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 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.42 src/sys/rump/Makefile.rump:1.43
--- src/sys/rump/Makefile.rump:1.42 Tue Nov 17 16:17:06 2009
+++ src/sys/rump/Makefile.rump Fri Nov 20 12:24:17 2009
@@ -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__