summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-06-04 15:14:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-06-04 15:14:46 +0000
commit9cc822d2bd35e43e4296b0c8ebc38e0c3684cb56 (patch)
treebe15605825b231f029a11277323e378918add998 /lib/libc
parent2e14e0c68c351352dd224815a531683d75507bd9 (diff)
enable -fret-clean on amd64, for libc libcrypto ld.so kernel, and all the
ssh tools. The dynamic objects are entirely ret-clean, static binaries will contain a blend of cleaning and non-cleaning callers.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/amd64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/arch/amd64/Makefile.inc b/lib/libc/arch/amd64/Makefile.inc
index 8b5442a43ae..a84eb110c54 100644
--- a/lib/libc/arch/amd64/Makefile.inc
+++ b/lib/libc/arch/amd64/Makefile.inc
@@ -1 +1,3 @@
-# $OpenBSD: Makefile.inc,v 1.5 2014/06/09 20:47:10 miod Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2024/06/04 15:14:44 deraadt Exp $
+
+CFLAGS+=-fret-clean