Fix incorrect logic in r301394.

Reported by:	Mark Millard
This commit is contained in:
Bryan Drewery 2016-06-04 17:38:17 +00:00
parent a81cff6ddd
commit 95348a57d0

View File

@ -129,7 +129,7 @@ MK_GCC_BOOTSTRAP= no
# passed along rather than trying to run cc from the restricted
# STRICTTMPPATH.
.if ${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no"
.if defined(X_COMPILER_TYPE)
.if !defined(X_COMPILER_TYPE)
CROSSENV+= COMPILER_VERSION=${COMPILER_VERSION} \
COMPILER_TYPE=${COMPILER_TYPE} \
COMPILER_FREEBSD_VERSION=${COMPILER_FREEBSD_VERSION}