Page MenuHomeFreeBSD

D33166.1790231395.diff
No OneTemporary

Size
624 B
Referenced Files
None
Subscribers
None

D33166.1790231395.diff

Index: share/mk/bsd.compiler.mk
===================================================================
--- share/mk/bsd.compiler.mk
+++ share/mk/bsd.compiler.mk
@@ -255,6 +255,15 @@
${X_}COMPILER_FEATURES+= fileprefixmap
.endif
+# Architecture specific features
+
+.if (${${X_}COMPILER_TYPE} == "clang" && ${${X_}COMPILER_VERSION} >= 130000) || \
+ (${${X_}COMPILER_TYPE} == "gcc" && ${${X_}COMPILER_VERSION} >= 90000)
+# AArch64 sha512 intrinsics are supported (and have been tested) in
+# clang 13 and gcc 9.
+${X_}COMPILER_FEATURES+= aarch64-sha512
+.endif
+
.else
# Use CC's values
X_COMPILER_TYPE= ${COMPILER_TYPE}

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 24, 6:29 AM (9 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29892800
Default Alt Text
D33166.1790231395.diff (624 B)

Event Timeline