Pass COMPILER_FEATURES down to submakes for installworld.
This is for WITH_SYSTEM_COMPILER, WITHOUT_CROSS_COMPILER, external compiler, etc. MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
f91eb6adad
commit
d5b29b60f8
@ -135,7 +135,8 @@ TEST_SYSTEM_COMPILER_VARS= \
|
|||||||
MK_CROSS_COMPILER MK_CLANG_BOOTSTRAP MK_GCC_BOOTSTRAP \
|
MK_CROSS_COMPILER MK_CLANG_BOOTSTRAP MK_GCC_BOOTSTRAP \
|
||||||
WANT_COMPILER_TYPE WANT_COMPILER_VERSION WANT_COMPILER_VERSION_FILE \
|
WANT_COMPILER_TYPE WANT_COMPILER_VERSION WANT_COMPILER_VERSION_FILE \
|
||||||
WANT_COMPILER_FREEBSD_VERSION WANT_COMPILER_FREEBSD_VERSION_FILE \
|
WANT_COMPILER_FREEBSD_VERSION WANT_COMPILER_FREEBSD_VERSION_FILE \
|
||||||
CC COMPILER_TYPE COMPILER_VERSION COMPILER_FREEBSD_VERSION
|
CC COMPILER_TYPE COMPILER_FEATURES COMPILER_VERSION \
|
||||||
|
COMPILER_FREEBSD_VERSION
|
||||||
test-system-compiler: .PHONY
|
test-system-compiler: .PHONY
|
||||||
.for v in ${TEST_SYSTEM_COMPILER_VARS}
|
.for v in ${TEST_SYSTEM_COMPILER_VARS}
|
||||||
${_+_}@printf "%-35s= %s\n" "${v}" "${${v}}"
|
${_+_}@printf "%-35s= %s\n" "${v}" "${${v}}"
|
||||||
@ -153,9 +154,11 @@ test-system-compiler: .PHONY
|
|||||||
.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_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_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
|
||||||
|
Loading…
Reference in New Issue
Block a user