bsd.compiler.mk: Add a c++20 compiler feature.
This is enabled for clang versions 10+ and GCC versions 10+. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36892
This commit is contained in:
parent
b9cb80883b
commit
063b380f54
@ -235,6 +235,10 @@ ${X_}COMPILER_FEATURES+= c++11 c++14
|
||||
(${${X_}COMPILER_TYPE} == "gcc" && ${${X_}COMPILER_VERSION} >= 70000)
|
||||
${X_}COMPILER_FEATURES+= c++17
|
||||
.endif
|
||||
.if (${${X_}COMPILER_TYPE} == "clang" && ${${X_}COMPILER_VERSION} >= 100000) || \
|
||||
(${${X_}COMPILER_TYPE} == "gcc" && ${${X_}COMPILER_VERSION} >= 100100)
|
||||
${X_}COMPILER_FEATURES+= c++20
|
||||
.endif
|
||||
.if ${${X_}COMPILER_TYPE} == "clang"
|
||||
${X_}COMPILER_FEATURES+= retpoline init-all
|
||||
# PR257638 lld fails with BE compressed debug. Fixed in main but external tool
|
||||
|
Loading…
x
Reference in New Issue
Block a user