Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2012 00:42:19 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232477 - head/sys/conf
Message-ID:  <201203040042.q240gJdM007055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sun Mar  4 00:42:18 2012
New Revision: 232477
URL: http://svn.freebsd.org/changeset/base/232477

Log:
  In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
  needed, in sys/conf/kern.pre.mk.  Add it now.
  
  MFC after:	2 weeks

Modified:
  head/sys/conf/kern.pre.mk

Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk	Sat Mar  3 23:49:53 2012	(r232476)
+++ head/sys/conf/kern.pre.mk	Sun Mar  4 00:42:18 2012	(r232477)
@@ -101,7 +101,7 @@ WERROR?= -Werror
 # XXX LOCORE means "don't declare C stuff" not "for locore.s".
 ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS}
 
-.if ${CC:T:Mclang} == "clang"
+.if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang"
 CLANG_NO_IAS= -no-integrated-as
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203040042.q240gJdM007055>