summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/Makefile.amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/conf/Makefile.amd64')
-rw-r--r--sys/arch/amd64/conf/Makefile.amd644
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index 7759b875d7f..6f760b174bb 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.132 2023/04/21 13:24:20 bluhm Exp $
+# $OpenBSD: Makefile.amd64,v 1.133 2023/07/31 04:01:07 guenther Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -72,7 +72,7 @@ COPTIMIZE= -Oz
CMACHFLAGS+= -mno-retpoline -fcf-protection=none
.endif
.else
-CMACHFLAGS+= -fcf-protection=branch
+CMACHFLAGS+= -mretpoline-external-thunk -fcf-protection=branch
.endif
.if ${COMPILER_VERSION:Mclang}
NO_INTEGR_AS= -no-integrated-as