aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/compiler.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/compiler.mk')
-rw-r--r--Mk/Uses/compiler.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index 23fbf15e4a7c..5fb223fef761 100644
--- a/Mk/Uses/compiler.mk
+++ b/Mk/Uses/compiler.mk
@@ -145,12 +145,12 @@ _LANG=c
.if ${CXXSTD:M${std}}
_LANG=c++
.endif
-.if defined(OUTPUT_${std:hash}_${_CC_hash})
-OUTPUT_${std}= ${OUTPUT_${std:hash}_${_CC_hash}}
+.if defined(CC_OUTPUT_${std:hash}_${_CC_hash})
+OUTPUT_${std}= ${CC_OUTPUT_${std:hash}_${_CC_hash}}
.else
OUTPUT_${std}!= ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; echo yes
-OUTPUT_${std:hash}_${_CC_hash}= ${OUTPUT_${std}}
-PORTS_ENV_VARS+= OUTPUT_${std:hash}_${_CC_hash}
+CC_OUTPUT_${std:hash}_${_CC_hash}= ${OUTPUT_${std}}
+PORTS_ENV_VARS+= CC_OUTPUT_${std:hash}_${_CC_hash}
.endif
.if !${OUTPUT_${std}:M*error*}
COMPILER_FEATURES+= ${std}