From OpenBSD 6.2
, clang
has become the default compiler. So maybe you need to add CC&CXX
environment variables in your personal.profile
:
export CC=clang
export CXX=clang++
That’s because some software will select gcc
as the compiler if you don’t specify these environment variables. The gcc
is too old (4.2.1
) and not maintained on OpenBSD
anymore.