Cache LINKER_FEATURES to fix the wrong ones being used.

Submitted by:	Dan McGregor <dan.mcgregor@usask.ca>
This commit is contained in:
Bryan Drewery 2018-01-12 01:09:30 +00:00
parent 05f08f2978
commit d52c29e7f2

View File

@ -144,7 +144,7 @@ TEST_SYSTEM_COMPILER_VARS= \
WANT_COMPILER_FREEBSD_VERSION WANT_COMPILER_FREEBSD_VERSION_FILE \ WANT_COMPILER_FREEBSD_VERSION WANT_COMPILER_FREEBSD_VERSION_FILE \
CC COMPILER_TYPE COMPILER_FEATURES COMPILER_VERSION \ CC COMPILER_TYPE COMPILER_FEATURES COMPILER_VERSION \
COMPILER_FREEBSD_VERSION \ COMPILER_FREEBSD_VERSION \
LINKER_TYPE LINKER_VERSION LINKER_TYPE LINKER_FEATURES LINKER_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}}"
@ -178,6 +178,7 @@ _COMPILER_METADATA_VARS= COMPILER_VERSION \
COMPILER_FEATURES \ COMPILER_FEATURES \
COMPILER_FREEBSD_VERSION \ COMPILER_FREEBSD_VERSION \
LINKER_VERSION \ LINKER_VERSION \
LINKER_FEATURES \
LINKER_TYPE LINKER_TYPE
compiler-metadata.mk: .PHONY .META compiler-metadata.mk: .PHONY .META
@: > ${.TARGET} @: > ${.TARGET}