diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2023-10-02 15:55:31 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2023-10-10 09:52:16 +0000 |
| commit | d09a64e15d8fad6588b9aad62979f20afa8441df (patch) | |
| tree | aaec11914fd035cc9d3bc88e79a8579abb356d94 | |
| parent | e340882d3e49a98aa39b13041a2bf714c30dccdf (diff) | |
| -rw-r--r-- | sys/conf/kern.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index b508bc81b5f0..72b7387d3959 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -140,6 +140,8 @@ INLINE_LIMIT?= 8000 CFLAGS += -mgeneral-regs-only # Reserve x18 for pcpu data CFLAGS += -ffixed-x18 +# Build with BTI+PAC +CFLAGS += -mbranch-protection=standard INLINE_LIMIT?= 8000 .endif |
