When using an external toolchain note that gcc 4.8+ supports C++11
Submitted by: imp
This commit is contained in:
parent
7f7e0f84c5
commit
6ba2e210ea
@ -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=
|
||||
|
Loading…
x
Reference in New Issue
Block a user