When using an external toolchain note that gcc 4.8+ supports C++11

Submitted by:	imp
This commit is contained in:
bapt 2014-10-21 19:58:23 +00:00
parent 7f7e0f84c5
commit 6ba2e210ea

View File

@ -42,7 +42,8 @@ COMPILER_VERSION!=echo ${_v:M[1-9].[0-9]*} | awk -F. '{print $$1 * 10000 + $$2 *
.endif
.undef _v
.if ${COMPILER_TYPE} == "clang"
.if ${COMPILER_TYPE} == "clang" || \
(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800)
COMPILER_FEATURES= c++11
.else
COMPILER_FEATURES=