Changeset View
Changeset View
Standalone View
Standalone View
head/Makefile.inc1
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | |||||
# For installworld need to ensure that the looked-up compiler metadata is | # For installworld need to ensure that the looked-up compiler metadata is | ||||
# passed along rather than trying to run cc from the restricted | # passed along rather than trying to run cc from the restricted | ||||
# STRICTTMPPATH. | # STRICTTMPPATH. | ||||
.if ${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no" | .if ${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no" | ||||
.if !defined(X_COMPILER_TYPE) | .if !defined(X_COMPILER_TYPE) | ||||
CROSSENV+= COMPILER_VERSION=${COMPILER_VERSION} \ | CROSSENV+= COMPILER_VERSION=${COMPILER_VERSION} \ | ||||
COMPILER_TYPE=${COMPILER_TYPE} \ | COMPILER_TYPE=${COMPILER_TYPE} \ | ||||
COMPILER_FEATURES=${COMPILER_FEATURES} \ | COMPILER_FEATURES="${COMPILER_FEATURES}" \ | ||||
COMPILER_FREEBSD_VERSION=${COMPILER_FREEBSD_VERSION} | COMPILER_FREEBSD_VERSION=${COMPILER_FREEBSD_VERSION} | ||||
.else | .else | ||||
CROSSENV+= COMPILER_VERSION=${X_COMPILER_VERSION} \ | CROSSENV+= COMPILER_VERSION=${X_COMPILER_VERSION} \ | ||||
COMPILER_FEATURES=${X_COMPILER_FEATURES} \ | COMPILER_FEATURES="${X_COMPILER_FEATURES}" \ | ||||
COMPILER_TYPE=${X_COMPILER_TYPE} \ | COMPILER_TYPE=${X_COMPILER_TYPE} \ | ||||
COMPILER_FREEBSD_VERSION=${X_COMPILER_FREEBSD_VERSION} | COMPILER_FREEBSD_VERSION=${X_COMPILER_FREEBSD_VERSION} | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# Store some compiler metadata for use in installworld where we don't | # Store some compiler metadata for use in installworld where we don't | ||||
# want to invoke CC at all. | # want to invoke CC at all. | ||||
_COMPILER_METADATA_VARS= COMPILER_VERSION \ | _COMPILER_METADATA_VARS= COMPILER_VERSION \ | ||||
COMPILER_TYPE \ | COMPILER_TYPE \ | ||||
▲ Show 20 Lines • Show All 2,828 Lines • Show Last 20 Lines |