On 2021/05/16 14:23, Marc Espie wrote: > On Sun, May 16, 2021 at 12:19:09AM -0400, Kurt Mosiejczuk wrote: > > On Sat, May 15, 2021 at 10:04:29PM -0600, Theo de Raadt wrote: > > > It is a both-compilers architecture. > > > > It has both in base, but ports doesn't consider it having clang in base. > > > > It's not listed under CLANG_ARCHS > > If base has switched to using clang for default builds, ports should as > well... > cautiously, with a bulk ;) >
It has not; the place to check this is GCC4_ARCH in bsd.own.mk which takes priority over CLANG_ARCH. (both-compilers and preferring clang would look like amd64 did until recently; special exemption in ".if !empty(GCC4_ARCH:M${_arch})\nBUILD_GCC4?=yes"). Specifically ports can't use base-clang unless X is also built with base-clang (and likewise if X is built with base-clang then ports must be too).