aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2018-03-15 07:10:36 +0800
committerbdrewery <bdrewery@FreeBSD.org>2018-03-15 07:10:36 +0800
commit6feb0d6cdf58d95d07f06b1699b134f92c9ae994 (patch)
tree860fcef7d14095322b6a60d28e58e8598273614d /Mk
parentfd6c6badc7f6030a9e610708268b619a5f78e0d6 (diff)
downloadfreebsd-ports-gnome-6feb0d6cdf58d95d07f06b1699b134f92c9ae994.tar.gz
freebsd-ports-gnome-6feb0d6cdf58d95d07f06b1699b134f92c9ae994.tar.zst
freebsd-ports-gnome-6feb0d6cdf58d95d07f06b1699b134f92c9ae994.zip
PORTS_ENV: Rename OUTPUT_* to CC_OUTPUT_* to be more clearly related to compiler.mk.
This is purely a cosmetic change. Approved by: portmgr (implicit)
Diffstat (limited to '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}