bsd.compiler.mk: Add a blocks compiler feature.

Sponsored by:	Klara, Inc.
Reviewed by:	jrtc27
Differential Revision:	https://reviews.freebsd.org/D49963
This commit is contained in:
Dag-Erling Smørgrav
2025-04-22 19:44:58 +02:00
parent f0ac5e919f
commit 12668eadcb
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -245,6 +245,7 @@ ${X_}COMPILER_FEATURES+= c++20
${X_}COMPILER_FEATURES+= init-all
.endif
.if ${${X_}COMPILER_TYPE} == "clang"
${X_}COMPILER_FEATURES+= blocks
${X_}COMPILER_FEATURES+= retpoline
# PR257638 lld fails with BE compressed debug. Fixed in main but external tool
# chains will initially not have the fix. For now limit the feature to LE