From efd505d49400b554c0256059d2e26357d2be6066 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 25 Jan 2026 14:57:43 +0000 Subject: assembly regress: use make's MACHINE_ARCH rather than handrolling it discussed with jsing --- src/regress/lib/libcrypto/assembly/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/regress/lib') 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 @@ -# $OpenBSD: Makefile,v 1.1 2026/01/25 10:18:39 jsing Exp $ +# $OpenBSD: Makefile,v 1.2 2026/01/25 14:57:43 tb Exp $ -ARCH ?!= arch -s EGCC = /usr/local/bin/egcc .if !exists(${EGCC}) @@ -9,11 +8,11 @@ regress: @echo SKIPPED .else -.if ${ARCH} == "aarch64" +.if ${MACHINE_ARCH} == "aarch64" ASSEMBLY += sha/sha1_aarch64_ce.S ASSEMBLY += sha/sha256_aarch64_ce.S ASSEMBLY += sha/sha512_aarch64_ce.S -.elif ${ARCH} == "amd64" +.elif ${MACHINE_ARCH} == "amd64" ASSEMBLY += md5/md5_amd64_generic.S ASSEMBLY += sha/sha1_amd64_generic.S ASSEMBLY += sha/sha1_amd64_shani.S -- cgit v1.2.3-55-g6feb