summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-04-17 01:14:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-04-17 01:14:25 +0000
commit717a4a5e7a3ef81372613773d7e96e0057849c55 (patch)
tree1e56931d9a05bd1e53eca706d4b01ad3c48fb758 /sys/arch/amd64
parente5024fe7296a84159fcd387fabb9e135da162899 (diff)
Oops, ramdisk case should be -fcf-protection=none
spotted by brynet
Diffstat (limited to 'sys/arch/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 3aee5b4a1d1..7fd82c320f1 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.130 2023/04/16 23:57:59 deraadt Exp $
+# $OpenBSD: Makefile.amd64,v 1.131 2023/04/17 01:14:24 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -69,7 +69,7 @@ CMACHFLAGS+= -msave-args
SORTR= cat
COPTIMIZE= -Oz
.if ${COMPILER_VERSION:Mclang}
-CMACHFLAGS+= -mno-retpoline -fcf-protection=branch
+CMACHFLAGS+= -mno-retpoline -fcf-protection=none
.endif
.else
CMACHFLAGS+= -fcf-protection=branch