summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-06-05 20:19:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-06-05 20:19:27 +0000
commit0a3219d31804c4566a0740dbf024681ac0a538b3 (patch)
tree7d545a1ac59ed763169f78030d3e7f50cfb47cec /sys/arch
parentcb141cc689a277adff895b871dfaea8aef2fbb30 (diff)
disable -fret-clean in the kernel until the returns_twice situation is handled
Diffstat (limited to 'sys/arch')
-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 b369f9476d6..263e7fe8d47 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.135 2024/06/04 15:14:45 deraadt Exp $
+# $OpenBSD: Makefile.amd64,v 1.136 2024/06/05 20:19:26 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -73,7 +73,7 @@ CMACHFLAGS+= -mno-retpoline -fcf-protection=none
.endif
.else
CMACHFLAGS+= -mretpoline-external-thunk -fcf-protection=branch
-CMACHFLAGS+= -fret-clean
+#CMACHFLAGS+= -fret-clean
.endif
.if ${COMPILER_VERSION:Mclang}
NO_INTEGR_AS= -no-integrated-as