Page MenuHomeFreeBSD

D45469.id139365.diff
No OneTemporary

D45469.id139365.diff

diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -143,6 +143,9 @@
CFLAGS += -ffixed-x18
# Build with BTI+PAC
CFLAGS += -mbranch-protection=standard
+.if ${LINKER_TYPE} == "lld"
+LDFLAGS += -Wl,-zbti-report=error
+.endif
INLINE_LIMIT?= 8000
.endif

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 10:52 AM (12 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15837933
Default Alt Text
D45469.id139365.diff (304 B)

Event Timeline