svn commit: r449716 - head/Mk/Uses
Gerald Pfeifer
gerald at FreeBSD.org
Tue Sep 12 20:43:59 UTC 2017
Author: gerald
Date: Tue Sep 12 20:43:58 2017
New Revision: 449716
URL: https://svnweb.freebsd.org/changeset/ports/449716
Log:
Replace USE_GCC=5+ by USE_GCC=yes in the case of USES=compiler:c++14-lang.
When this was added by r392084 on 2015-07-14, the default flavor of GCC
was GCC 4.8 and explicitly requesting GCC 5 (or later) was necessary for
C++ 14 support. Now that the default version of GCC is GCC 6, after GCC 5
for several months, we can use the preferred notion of USE_GCC=yes instead
of specifying a concrete minimum version.
Among others this helps with cases where GCC 6 is better adjusted for
FreeBSD, notably the well known std::to_string issue (where that is only
enabled with GCC 6 or later).
PR: 222268
Approved by: portmgr (antoine)
MFH: 2017Q3
Modified:
head/Mk/Uses/compiler.mk
Modified: head/Mk/Uses/compiler.mk
==============================================================================
--- head/Mk/Uses/compiler.mk Tue Sep 12 20:29:20 2017 (r449715)
+++ head/Mk/Uses/compiler.mk Tue Sep 12 20:43:58 2017 (r449716)
@@ -144,7 +144,7 @@ CHOSEN_COMPILER_TYPE= gcc
.if ${_COMPILER_ARGS:Mc++14-lang}
.if !${COMPILER_FEATURES:Mc++14}
.if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2
-USE_GCC= 5+
+USE_GCC= yes
CHOSEN_COMPILER_TYPE= gcc
.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 35) || ${COMPILER_TYPE} == gcc
.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 35
More information about the svn-ports-head
mailing list