svn commit: r226698 - head/sys/conf
Dimitry Andric
dim at FreeBSD.org
Mon Oct 24 18:35:16 UTC 2011
Author: dim
Date: Mon Oct 24 18:35:16 2011
New Revision: 226698
URL: http://svn.freebsd.org/changeset/base/226698
Log:
Put in a temporary band-aid to fix kernel builds when CC=clang, after
r226665.
Modified:
head/sys/conf/kern.mk
Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk Mon Oct 24 18:29:50 2011 (r226697)
+++ head/sys/conf/kern.mk Mon Oct 24 18:35:16 2011 (r226698)
@@ -7,7 +7,7 @@ FREEBSD_GCC!= ${CC} --version | grep Fre
#
# Warning flags for compiling the kernel and components of the kernel:
#
-.if ${FREEBSD_GCC}
+.if defined(FREEBSD_GCC) && ${FREEBSD_GCC}
# FreeBSD extensions, not available in upstream GCC
format_extensions= -fformat-extensions
no_align_long_strings= -mno-align-long-strings
More information about the svn-src-all
mailing list