Date: Tue, 12 Sep 2017 20:43:58 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449716 - head/Mk/Uses Message-ID: <201709122043.v8CKhwVM016505@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709122043.v8CKhwVM016505>