diff options
author | 2010-02-03 20:48:58 +0000 | |
---|---|---|
committer | 2010-02-03 20:48:58 +0000 | |
commit | b3ed33d2d70f99f07d350f98602c83b814dbcf10 (patch) | |
tree | ff5e1d03e19ab46fcc7523609a613ffa56a13119 /lib/libpthread/uthread | |
parent | If MACHINE_CPU != MACHINE_ARCH, pass -D__${MACHINE_CPU}__ to the preprocessor. (diff) | |
download | wireguard-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/libpthread/uthread')
-rw-r--r-- | lib/libpthread/uthread/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/Makefile.inc b/lib/libpthread/uthread/Makefile.inc index 23d7f229128..66908ef5a21 100644 --- a/lib/libpthread/uthread/Makefile.inc +++ b/lib/libpthread/uthread/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.21 2008/12/18 09:30:32 guenther Exp $ +# $OpenBSD: Makefile.inc,v 1.22 2010/02/03 20:49:00 miod Exp $ # $FreeBSD: Makefile.inc,v 1.19 1999/08/28 00:03:19 peter Exp $ # uthread sources .PATH: ${SRCDIR}/uthread -CFLAGS += -I${SRCDIR}/arch/${MACHINE_ARCH} +CFLAGS += -I${SRCDIR}/arch/${MACHINE_CPU} SRCS+= \ uthread_accept.c \ |