Page MenuHomeFreeBSD

D45469.id.diff
No OneTemporary

D45469.id.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
# TODO: support outline atomics
CFLAGS += -mno-outline-atomics
INLINE_LIMIT?= 8000

File Metadata

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

Event Timeline