summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-02-03 20:48:58 +0000
committermiod <miod@openbsd.org>2010-02-03 20:48:58 +0000
commitb3ed33d2d70f99f07d350f98602c83b814dbcf10 (patch)
treeff5e1d03e19ab46fcc7523609a613ffa56a13119 /lib/libc/crypt
parentIf MACHINE_CPU != MACHINE_ARCH, pass -D__${MACHINE_CPU}__ to the preprocessor. (diff)
downloadwireguard-openbsd-b3ed33d2d70f99f07d350f98602c83b814dbcf10.tar.xz
wireguard-openbsd-b3ed33d2d70f99f07d350f98602c83b814dbcf10.zip
Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r--lib/libc/crypt/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/crypt/Makefile.inc b/lib/libc/crypt/Makefile.inc
index d961f36b520..df23499b3a3 100644
--- a/lib/libc/crypt/Makefile.inc
+++ b/lib/libc/crypt/Makefile.inc
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.16 2008/03/16 22:08:12 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.17 2010/02/03 20:49:00 miod Exp $
-.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/crypt ${LIBCSRCDIR}/crypt
+.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/crypt ${LIBCSRCDIR}/crypt
SRCS+= cast.c crypt.c crypt2.c md5crypt.c arc4random.c blowfish.c
SRCS+= bcrypt.c skipjack.c