Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148258899
D36892.1786024392.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D36892.1786024392.diff
View Options
diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk
--- a/share/mk/bsd.compiler.mk
+++ b/share/mk/bsd.compiler.mk
@@ -235,6 +235,10 @@
(${${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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 6, 1:53 PM (5 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29358449
Default Alt Text
D36892.1786024392.diff (621 B)
Attached To
Mode
D36892: bsd.compiler.mk: Add a c++20 compiler feature.
Attached
Detach File
Event Timeline
Log In to Comment