From owner-freebsd-toolchain@FreeBSD.ORG Sun Jan 23 13:07:05 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id E701A1065670; Sun, 23 Jan 2011 13:07:05 +0000 (UTC) Date: Sun, 23 Jan 2011 13:07:05 +0000 From: Alexander Best To: freebsd-toolchain@freebsd.org Message-ID: <20110123130705.GA21973@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: ${CC} in share/mk/bsd.cpu.mk X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 13:07:06 -0000 hi there, i was fiddling with share/mk/bsd.cpu.mk in order to add some clang specific conditions. however it seems ${CC} is always set to "cc" no matter what's in src.conf. this is odd, since there's already some code in bsd.cpu.mk which checks ${CC} == icc. right now this code is a noop, since ${CC} can't be anything else than "cc". is it possible to somehow fix this? e.g. there's no reason to set CPUTYPE to nocona, when ${CC} == clang && ${CPUTYPE} == core2. cheers. alex -- a13x