summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2026-01-25 14:57:43 +0000
committertb <>2026-01-25 14:57:43 +0000
commitefd505d49400b554c0256059d2e26357d2be6066 (patch)
treee6db422211f2b776e48caf3baa55fda7b4bc0f03 /src/regress
parent0c6968d15bdbca1395ff625cabdb093e33aa169c (diff)
downloadopenbsd-efd505d49400b554c0256059d2e26357d2be6066.tar.gz
openbsd-efd505d49400b554c0256059d2e26357d2be6066.tar.bz2
openbsd-efd505d49400b554c0256059d2e26357d2be6066.zip
assembly regress: use make's MACHINE_ARCH rather than handrolling itHEADmaster
discussed with jsing
Diffstat (limited to 'src/regress')
-rw-r--r--src/regress/lib/libcrypto/assembly/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/assembly/Makefile b/src/regress/lib/libcrypto/assembly/Makefile
index 48c316cc9f..9df34a644b 100644
--- a/src/regress/lib/libcrypto/assembly/Makefile
+++ b/src/regress/lib/libcrypto/assembly/Makefile
@@ -1,6 +1,5 @@
1# $OpenBSD: Makefile,v 1.1 2026/01/25 10:18:39 jsing Exp $ 1# $OpenBSD: Makefile,v 1.2 2026/01/25 14:57:43 tb Exp $
2 2
3ARCH ?!= arch -s
4EGCC = /usr/local/bin/egcc 3EGCC = /usr/local/bin/egcc
5 4
6.if !exists(${EGCC}) 5.if !exists(${EGCC})
@@ -9,11 +8,11 @@ regress:
9 @echo SKIPPED 8 @echo SKIPPED
10.else 9.else
11 10
12.if ${ARCH} == "aarch64" 11.if ${MACHINE_ARCH} == "aarch64"
13ASSEMBLY += sha/sha1_aarch64_ce.S 12ASSEMBLY += sha/sha1_aarch64_ce.S
14ASSEMBLY += sha/sha256_aarch64_ce.S 13ASSEMBLY += sha/sha256_aarch64_ce.S
15ASSEMBLY += sha/sha512_aarch64_ce.S 14ASSEMBLY += sha/sha512_aarch64_ce.S
16.elif ${ARCH} == "amd64" 15.elif ${MACHINE_ARCH} == "amd64"
17ASSEMBLY += md5/md5_amd64_generic.S 16ASSEMBLY += md5/md5_amd64_generic.S
18ASSEMBLY += sha/sha1_amd64_generic.S 17ASSEMBLY += sha/sha1_amd64_generic.S
19ASSEMBLY += sha/sha1_amd64_shani.S 18ASSEMBLY += sha/sha1_amd64_shani.S