summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <>2024-06-04 15:14:45 +0000
committerderaadt <>2024-06-04 15:14:45 +0000
commit3cc21fe1f11ef924456da3d20e7f3f259eea972d (patch)
treefecfe50ae849c875f324ce180ad12b4622925dbe
parent6b756272189c862805133e3beb28ad09ae9acb3f (diff)
downloadopenbsd-3cc21fe1f11ef924456da3d20e7f3f259eea972d.tar.gz
openbsd-3cc21fe1f11ef924456da3d20e7f3f259eea972d.tar.bz2
openbsd-3cc21fe1f11ef924456da3d20e7f3f259eea972d.zip
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.
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
index a354105822..0cf212b186 100644
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/src/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.27 2024/03/29 11:00:57 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.28 2024/06/04 15:14:45 deraadt Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -83,3 +83,5 @@ GENERATED+=x86_64cpuid.S
83x86_64cpuid.S: ${LCRYPTO_SRC}/x86_64cpuid.pl ${EXTRA_PL} 83x86_64cpuid.S: ${LCRYPTO_SRC}/x86_64cpuid.pl ${EXTRA_PL}
84 (cd ${LCRYPTO_SRC}/${dir} ; \ 84 (cd ${LCRYPTO_SRC}/${dir} ; \
85 /usr/bin/perl ./x86_64cpuid.pl) > ${.TARGET} 85 /usr/bin/perl ./x86_64cpuid.pl) > ${.TARGET}
86
87CFLAGS+=-fret-clean