<machine/asm.h> they are already get the necessary "bti c" instructions.
Passi the -mmark-bti-property option to mark the corresponding object
files as having BTI support.
ok deraadt@
-# $OpenBSD: Makefile.inc,v 1.4 2023/01/11 14:38:09 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2023/03/31 18:49:43 kettenis Exp $
# $NetBSD: Makefile.inc,v 1.5 2002/07/10 04:29:06 thorpej Exp $
.include <bsd.own.mk>
+AFLAGS+= -mmark-bti-property
+
# Suppress DWARF2 warnings
DEBUG?= -gdwarf-4