svn commit: r273405 - head/share/mk
Baptiste Daroussin
bapt at FreeBSD.org
Tue Oct 21 19:58:24 UTC 2014
Author: bapt
Date: Tue Oct 21 19:58:23 2014
New Revision: 273405
URL: https://svnweb.freebsd.org/changeset/base/273405
Log:
When using an external toolchain note that gcc 4.8+ supports C++11
Submitted by: imp
Modified:
head/share/mk/bsd.compiler.mk
Modified: head/share/mk/bsd.compiler.mk
==============================================================================
--- head/share/mk/bsd.compiler.mk Tue Oct 21 19:56:45 2014 (r273404)
+++ head/share/mk/bsd.compiler.mk Tue Oct 21 19:58:23 2014 (r273405)
@@ -42,7 +42,8 @@ COMPILER_VERSION!=echo ${_v:M[1-9].[0-9]
.endif
.undef _v
-.if ${COMPILER_TYPE} == "clang"
+.if ${COMPILER_TYPE} == "clang" || \
+ (${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800)
COMPILER_FEATURES= c++11
.else
COMPILER_FEATURES=
More information about the svn-src-all
mailing list