From 30ce7fee44c97a1a299567e28fa682d1c814c7d6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 24 Oct 2011 18:35:16 +0000 Subject: [PATCH] Put in a temporary band-aid to fix kernel builds when CC=clang, after r226665. --- sys/conf/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 9fc379f4dae..80997c558ce 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -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