svn commit: r198239 - projects/clangbsd/share/mk
Roman Divacky
rdivacky at FreeBSD.org
Mon Oct 19 17:47:19 UTC 2009
Author: rdivacky
Date: Mon Oct 19 17:47:18 2009
New Revision: 198239
URL: http://svn.freebsd.org/changeset/base/198239
Log:
Revert the previous commit and make it so that the CSTD is ignored
if CC=icc and NO_WARNS is defined. Use CSTD for all other cases.
Modified:
projects/clangbsd/share/mk/bsd.sys.mk
Modified: projects/clangbsd/share/mk/bsd.sys.mk
==============================================================================
--- projects/clangbsd/share/mk/bsd.sys.mk Mon Oct 19 17:41:32 2009 (r198238)
+++ projects/clangbsd/share/mk/bsd.sys.mk Mon Oct 19 17:47:18 2009 (r198239)
@@ -11,7 +11,7 @@
# the default is gnu99 for now
CSTD ?= gnu99
-.if ${CC} != "icc"
+.if !defined(NO_WARNS) || ${CC} != "icc"
. if ${CSTD} == "k&r"
CFLAGS += -traditional
. elif ${CSTD} == "c89" || ${CSTD} == "c90"
More information about the svn-src-projects
mailing list