artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5976d0
)
Due to growth we can't allow -fret-clean behaviour in distrib/special,
author
deraadt
<deraadt@openbsd.org>
Sun, 2 Jun 2024 15:54:03 +0000
(15:54 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 2 Jun 2024 15:54:03 +0000
(15:54 +0000)
so use COPTS+=-fno-ret-clean
distrib/special/Makefile.inc
patch
|
blob
|
history
diff --git
a/distrib/special/Makefile.inc
b/distrib/special/Makefile.inc
index
99547e8
..
8383557
100644
(file)
--- a/
distrib/special/Makefile.inc
+++ b/
distrib/special/Makefile.inc
@@
-4,7
+4,7
@@
COPTS+=-Oz -fno-stack-protector
COPTS+=-fno-unwind-tables -fno-asynchronous-unwind-tables
.if ${MACHINE} == "amd64"
-COPTS+=-fcf-protection=none
+COPTS+=-fcf-protection=none
-fno-ret-clean
.endif
.if ${MACHINE} == "arm64"
COPTS+=-mbranch-protection=none