Put in a temporary band-aid to fix kernel builds when CC=clang, after

r226665.
This commit is contained in:
Dimitry Andric 2011-10-24 18:35:16 +00:00
parent 6f8193d2c4
commit 30ce7fee44

View File

@ -7,7 +7,7 @@ FREEBSD_GCC!= ${CC} --version | grep FreeBSD || true
#
# 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