diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-03-24 14:53:13 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-03-25 02:33:43 +0000 |
| commit | 61f78130c2f3a6abaa70bd66d6d6974060fb3d04 (patch) | |
| tree | 0464e31e2625d9f99b5f91ad4ba0dc1657dd1f4f | |
| parent | 615f1b9eb17c921bbcb0cce2b9ad61910361325b (diff) | |
stand: Force disable RETPOLINE for boot loaders
Boot loaders do not require speculative execution protection, and may be
too large if enabled.
Reported by: Shawn Webb
Reviewed by: dim, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56068
| -rw-r--r-- | stand/defs.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/defs.mk b/stand/defs.mk index b74dac395d15..7f3803c7ab42 100644 --- a/stand/defs.mk +++ b/stand/defs.mk @@ -11,6 +11,7 @@ FORTIFY_SOURCE= 0 MK_CTF= no MK_SSP= no MK_PIE= no +MK_RETPOLINE= no MK_ZEROREGS= no MAN= .if !defined(PIC) |
