Add bn/arch/${MACHINE_CPU} to the include path.
authorjsing <jsing@openbsd.org>
Tue, 31 Jan 2023 05:13:28 +0000 (05:13 +0000)
committerjsing <jsing@openbsd.org>
Tue, 31 Jan 2023 05:13:28 +0000 (05:13 +0000)
This will be needed once headers pull in bn_arch.h.

regress/lib/libcrypto/bn/Makefile

index c3d9def..2852b2e 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.20 2023/01/29 15:18:49 jsing Exp $
+#      $OpenBSD: Makefile,v 1.21 2023/01/31 05:13:28 jsing Exp $
 
 PROGS +=       bn_add_sub
 PROGS +=       bn_cmp
@@ -29,6 +29,7 @@ DPADD =               ${LIBCRYPTO}
 WARNINGS =     Yes
 CFLAGS +=      -Wall -Wundef -Werror
 CFLAGS +=      -I${.CURDIR}/../../../../lib/libcrypto/bn/
+CFLAGS +=      -I${.CURDIR}/../../../../lib/libcrypto/bn/arch/${MACHINE_CPU}/
 
 # Use default targets from bsd.regress.mk unless overridden below
 REGRESS_TARGETS = ${PROGS:S/^/run-regress-/}