[toolchain] ${CC} in share/mk/bsd.cpu.mk

Gerald Pfeifer gerald at pfeifer.com
Sun Jan 30 23:38:11 UTC 2011


On Sun, 30 Jan 2011, Alexander Best wrote:
> i might have described things a bit too complicated. basically i want to 
> have CPUTYPE ?= core2 in my make.conf. clang is capable of producing 
> core2 specific code, however core2 always gets downgraded by 
> share/mk/bsd.cpu.mk to nocona in order not to confuse gcc.
> 
> any chance of fixing this?

I guess one of those extern compilers Robert has in mind should
be lang/gcc46 from the Ports Collection which is perfectly happy
to generate core2 code.  I agree we need good infrastructure to
support such cases.

Gerald


More information about the freebsd-toolchain mailing list