artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00473b0
)
Oops, ramdisk case should be -fcf-protection=none
author
deraadt
<deraadt@openbsd.org>
Mon, 17 Apr 2023 01:14:24 +0000
(
01:14
+0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 17 Apr 2023 01:14:24 +0000
(
01:14
+0000)
spotted by brynet
sys/arch/amd64/conf/Makefile.amd64
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/conf/Makefile.amd64
b/sys/arch/amd64/conf/Makefile.amd64
index
3aee5b4
..
7fd82c3
100644
(file)
--- a/
sys/arch/amd64/conf/Makefile.amd64
+++ b/
sys/arch/amd64/conf/Makefile.amd64
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile.amd64,v 1.13
0 2023/04/16 23:57:59
deraadt Exp $
+# $OpenBSD: Makefile.amd64,v 1.13
1 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