Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 23:21:12 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464540 - head/Mk/Uses
Message-ID:  <201803142321.w2ENLC52045903@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803142321.w2ENLC52045903>