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 duplicate arbitrary chunks of bsd.sys.mk in h...



details:   https://anonhg.NetBSD.org/src/rev/91863f1a8820
branches:  trunk
changeset: 782816:91863f1a8820
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 21 17:51:42 2012 +0000

description:
Don't duplicate arbitrary chunks of bsd.sys.mk in here (especially
-Wsign-compare, since that doesn't even work with the kernel, and was
just previously masked by -isystem).  Reorder a bit too.

diffstat:

 sys/rump/Makefile.rump |  15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diffs (37 lines):

diff -r 5da2f6b80b08 -r 91863f1a8820 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Wed Nov 21 17:48:05 2012 +0000
+++ b/sys/rump/Makefile.rump    Wed Nov 21 17:51:42 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.65 2012/11/21 17:48:05 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.66 2012/11/21 17:51:42 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -15,22 +15,19 @@
 CPPFLAGS+=     -D_RUMP_NATIVE_ABI
 .endif
 
+CPPFLAGS+=     -DMAXUSERS=32
+CPPFLAGS+=     -DCOMPAT_50=1
+
+CPPFLAGS+=     -nostdinc
 CFLAGS+=       -ffreestanding -fno-strict-aliasing
-.if (defined(HAVE_GCC) && ${HAVE_GCC} >= 3) || defined(HAVE_LLVM)
-CFLAGS+=       -Wsign-compare
-CFLAGS+=       -Wno-pointer-sign -Wno-attributes
-CFLAGS+=       -std=gnu99
-.endif
+
 CWARNFLAGS+=   -Wno-format-zero-length -Wno-pointer-sign
 CPPFLAGS+=     -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR
-CPPFLAGS+=     -DMAXUSERS=32
-CPPFLAGS+=     -DCOMPAT_50=1
 CPPFLAGS+=     -DDEBUGPRINT
 CPPFLAGS+=     -I${.CURDIR} -I.
 CPPFLAGS+=     -I${RUMPTOP}/../../common/include
 CPPFLAGS+=     -I${RUMPTOP}/include
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpkern/opt
-CPPFLAGS+=     -nostdinc
 
 .ifdef NEED_ISYSTEM
 CPPFLAGS+=     -isystem ${RUMPTOP}/../arch



Home | Main Index | Thread Index | Old Index