From 22ca3a326a5156387835bda9529fd988cf9a5908 Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 7 Aug 2007 21:33:13 +0000 Subject: [PATCH] Compile kernel stuff with DIAGNOSTIC. --- sys/rump/Makefile.rump | 4 ++-- sys/rump/fs/lib/Makefile.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/rump/Makefile.rump b/sys/rump/Makefile.rump index 592b585351c2..cedcc536d42a 100644 --- a/sys/rump/Makefile.rump +++ b/sys/rump/Makefile.rump @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rump,v 1.2 2007/08/07 10:30:39 pooka Exp $ +# $NetBSD: Makefile.rump,v 1.3 2007/08/07 21:33:13 pooka Exp $ # .include @@ -16,7 +16,7 @@ CPPFLAGS+= -I${.CURDIR} -I. .if "${RUMPKERNEL}" != "no" CFLAGS+= -ffreestanding CPPFLAGS:= -I${NETBSDSRCDIR}/sys/rump/include ${CPPFLAGS} -CPPFLAGS+= -D_KERNEL -I${NETBSDSRCDIR}/common/include +CPPFLAGS+= -D_KERNEL -DDIAGNOSTIC -I${NETBSDSRCDIR}/common/include CPPFLAGS+= -nostdinc -I${NETBSDSRCDIR}/sys .endif diff --git a/sys/rump/fs/lib/Makefile.inc b/sys/rump/fs/lib/Makefile.inc index 0b6125e7d87c..43d4ca080274 100644 --- a/sys/rump/fs/lib/Makefile.inc +++ b/sys/rump/fs/lib/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.2 2007/08/07 10:30:39 pooka Exp $ +# $NetBSD: Makefile.inc,v 1.3 2007/08/07 21:33:14 pooka Exp $ # MKPRIVATELIB= yes @@ -13,6 +13,6 @@ CPPFLAGS+= -I${.CURDIR} -I. .if "${RUMPKERNEL}" != "no" CFLAGS+= -ffreestanding CPPFLAGS:= -I${NETBSDSRCDIR}/sys/rump/include ${CPPFLAGS} -CPPFLAGS+= -D_KERNEL -I${NETBSDSRCDIR}/common/include +CPPFLAGS+= -D_KERNEL -DDIAGNOSTIC -I${NETBSDSRCDIR}/common/include CPPFLAGS+= -nostdinc -I${NETBSDSRCDIR}/sys .endif