1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

PORTS_ENV: Reorder CC hash and std hash so CC's comes first.

This is only a cosmetic change.

Approved by:	portmgr (implicit)
This commit is contained in:
Bryan Drewery 2018-03-14 23:21:12 +00:00
parent 5614566822
commit 64b73075ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464540

View File

@ -145,12 +145,12 @@ _LANG=c
.if ${CXXSTD:M${std}}
_LANG=c++
.endif
.if defined(CC_OUTPUT_${std:hash}_${_CC_hash})
OUTPUT_${std}= ${CC_OUTPUT_${std:hash}_${_CC_hash}}
.if defined(CC_OUTPUT_${_CC_hash}_${std:hash})
OUTPUT_${std}= ${CC_OUTPUT_${_CC_hash}_${std:hash}}
.else
OUTPUT_${std}!= ${CC} -std=${std} -c -x ${_LANG} /dev/null -o /dev/null 2>&1; echo yes
CC_OUTPUT_${std:hash}_${_CC_hash}= ${OUTPUT_${std}}
PORTS_ENV_VARS+= CC_OUTPUT_${std:hash}_${_CC_hash}
CC_OUTPUT_${_CC_hash}_${std:hash}= ${OUTPUT_${std}}
PORTS_ENV_VARS+= CC_OUTPUT_${_CC_hash}_${std:hash}
.endif
.if !${OUTPUT_${std}:M*error*}
COMPILER_FEATURES+= ${std}