diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 3eb8e51a6731..48cce5cdd6c8 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -402,7 +402,7 @@ __T=${MACHINE_ARCH} .if defined(TARGET) __TT=${TARGET} .else -__TT=${MACHINE_ARCH} +__TT=${MACHINE} .endif # Clang is only for x86, powerpc and little-endian arm right now, by default. .if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*}