svn commit: r187723 - head/sys/conf
Roman Divacky
rdivacky at FreeBSD.org
Mon Jan 26 09:00:59 PST 2009
Author: rdivacky
Date: Mon Jan 26 17:00:58 2009
New Revision: 187723
URL: http://svn.freebsd.org/changeset/base/187723
Log:
kmod.mk includes bsd.sys.mk anyway so use CSTD instead of homegrown
reimplementation of the same. Note that this changes -std=c99
to -std=iso9899:1999 but those two are synonyms.
Approved by: kib (mentor)
Reviewed by: ru
Modified:
head/sys/conf/kmod.mk
Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk Mon Jan 26 16:43:18 2009 (r187722)
+++ head/sys/conf/kmod.mk Mon Jan 26 17:00:58 2009 (r187723)
@@ -89,10 +89,9 @@ CFLAGS+= -DKLD_MODULE
.if ${CC} == "icc"
NOSTDINC= -X
.else
-C_DIALECT= -std=c99
+CSTD= c99
NOSTDINC= -nostdinc
.endif
-CFLAGS+= ${C_DIALECT}
CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} ${INCLMAGIC} ${CFLAGS:M-I*}
.if defined(KERNBUILDDIR)
CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h
More information about the svn-src-all
mailing list