Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 13:07:05 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-toolchain@freebsd.org
Subject:   ${CC} in share/mk/bsd.cpu.mk
Message-ID:  <20110123130705.GA21973@freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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