CPUTYPE=native handling

Alexander Best arundel at freebsd.org
Tue Nov 8 00:25:56 UTC 2011


hi there,

i've seen dozens of issues, where people set CPUTYPE=native. although this
works in a lot of cases, it doesn't in others. why don't we simply add
something like

. if ${CPUTYPE} == "native"
.  error "bla"
. endif

in share/mk/bsd.cpu.mk for now? or at least for the archs, where "native" is
known to cause problems.

cheers.
alex


More information about the freebsd-toolchain mailing list