From fc532b5623b114b099280b3832c141b13d6d6e0c Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 25 Dec 2003 14:07:52 +0000 Subject: Don't add CWARNFLAGS to CFLAGS here, they were already added by bsd.sys.mk. --- sys/conf/kmod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/conf') diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 4854b2f..65f56f5 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -70,7 +70,7 @@ OBJCOPY?= objcopy .SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S -CFLAGS+= ${COPTS} -D_KERNEL ${CWARNFLAGS} +CFLAGS+= ${COPTS} -D_KERNEL CFLAGS+= -DKLD_MODULE # Don't use any standard or source-relative include directories. -- cgit v1.1