summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-08-11 13:05:44 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-08-11 13:05:44 +0000
commit47ae1e7bb0aab55d429ff5b6cc2442521544ea33 (patch)
treedfc7cfa1dc832ad52fc949d7596199d5eb6da5cf
parentf347e0394ef9e6153f92127138420f724e2676e3 (diff)
Add include path for crypto_arch.h.
-rw-r--r--lib/libssl/Makefile3
-rw-r--r--regress/lib/libcrypto/crypto/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile
index 1100b99ce28..652ad4238f9 100644
--- a/lib/libssl/Makefile
+++ b/lib/libssl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.84 2024/07/13 18:33:18 tb Exp $
+# $OpenBSD: Makefile,v 1.85 2024/08/11 13:04:46 jsing Exp $
.include <bsd.own.mk>
.ifndef NOMAN
@@ -24,6 +24,7 @@ CFLAGS+= -DTLS13_DEBUG
.endif
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../libcrypto
+CFLAGS+= -I${.CURDIR}/../libcrypto/arch/${MACHINE_CPU}
CFLAGS+= -I${.CURDIR}/../libcrypto/hidden
CFLAGS+= -I${.CURDIR}/../libcrypto/bio
CFLAGS+= -I${.CURDIR}/hidden
diff --git a/regress/lib/libcrypto/crypto/Makefile b/regress/lib/libcrypto/crypto/Makefile
index 34a4e7050bd..c766cd8f4a0 100644
--- a/regress/lib/libcrypto/crypto/Makefile
+++ b/regress/lib/libcrypto/crypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2024/04/25 14:27:29 jsing Exp $
+# $OpenBSD: Makefile,v 1.2 2024/08/11 13:05:43 jsing Exp $
PROG = crypto_test
@@ -8,5 +8,6 @@ LDFLAGS+= -lcrypto
CFLAGS+= -DLIBRESSL_INTERNAL
CFLAGS+= -Wall -Wundef -Werror
CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto
+CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/arch/${MACHINE_CPU}
.include <bsd.regress.mk>