summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-11 16:36:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-01-11 16:36:45 +0000
commit05850fc09f1c5407b917c52c4babaae8935886cf (patch)
treed6dbce922b37fe92aed3ce3801323ca71c17a92a /lib
parent0707c6a496b8299e2dd20e96060ce6d86203c540 (diff)
based upon inspection of obj/*.S ...
temporarily force sparc64 libcrypto to be built --no-execute-only because perlasm is still putting tables (intended to be rodata) into text. This will help dynamic executables, but static executables won't be saved by this. But this is temporary because we hope the perlasm problem is fixed soon.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/arch/sparc64/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/arch/sparc64/Makefile.inc b/lib/libcrypto/arch/sparc64/Makefile.inc
index 8da30918f4f..cb502b28a38 100644
--- a/lib/libcrypto/arch/sparc64/Makefile.inc
+++ b/lib/libcrypto/arch/sparc64/Makefile.inc
@@ -1,7 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.4 2019/05/11 13:05:25 tb Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2023/01/11 16:36:44 deraadt Exp $
# sparc64-specific libcrypto build rules
+LDADD+= -Wl,--no-execute-only
+
# aes
SRCS+= aes_core.c aes_cbc.c
CFLAGS+= -DAES_ASM