src.opts.mk: Require C++20 for C++ support.
libc++ requires C++20, so mark C++ (MK_CXX) as broken if the compiler does not support C++20. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36893
This commit is contained in:
parent
063b380f54
commit
adc3c128c6
|
@ -348,6 +348,11 @@ __DEFAULT_YES_OPTIONS+=OPENMP
|
|||
__DEFAULT_NO_OPTIONS+=OPENMP
|
||||
.endif
|
||||
|
||||
# libc++ requires C++20
|
||||
.if !${COMPILER_FEATURES:Mc++20}
|
||||
BROKEN_OPTIONS+=CXX
|
||||
.endif
|
||||
|
||||
.include <bsd.mkopt.mk>
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user