Author: rdivacky Date: Wed Oct 21 17:07:46 2009 New Revision: 198335 URL: http://svn.freebsd.org/changeset/base/198335
Log: Set CSTD in all cases except when CC=icc and NO_WARNS is set. This way we can set desired C standard even for cross tools etc. Tested by: make universe Approved by: ed (maintainer) OK by: das Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk ============================================================================== --- head/share/mk/bsd.sys.mk Wed Oct 21 16:12:09 2009 (r198334) +++ head/share/mk/bsd.sys.mk Wed Oct 21 17:07:46 2009 (r198335) @@ -11,7 +11,7 @@ # the default is gnu99 for now CSTD ?= gnu99 -.if !defined(NO_WARNS) && ${CC} != "icc" +.if !defined(NO_WARNS) || ${CC} != "icc" . if ${CSTD} == "k&r" CFLAGS += -traditional . elif ${CSTD} == "c89" || ${CSTD} == "c90" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"