svn commit: r464540 - head/Mk/Uses
Bryan Drewery
bdrewery at FreeBSD.org
Wed Mar 14 23:21:13 UTC 2018
Author: bdrewery
Date: Wed Mar 14 23:21:12 2018
New Revision: 464540
URL: https://svnweb.freebsd.org/changeset/ports/464540
Log:
PORTS_ENV: Reorder CC hash and std hash so CC's comes first.
This is only a cosmetic change.
Approved by: portmgr (implicit)
Modified:
head/Mk/Uses/compiler.mk
Modified: head/Mk/Uses/compiler.mk
==============================================================================
--- head/Mk/Uses/compiler.mk Wed Mar 14 23:12:10 2018 (r464539)
+++ head/Mk/Uses/compiler.mk Wed Mar 14 23:21:12 2018 (r464540)
@@ -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}
More information about the svn-ports-all
mailing list