Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115688269
D36892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D36892.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
Mon, Apr 28, 4:11 AM (12 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17825536
Default Alt Text
D36892.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