diff options
author | 2010-02-03 20:48:58 +0000 | |
---|---|---|
committer | 2010-02-03 20:48:58 +0000 | |
commit | b3ed33d2d70f99f07d350f98602c83b814dbcf10 (patch) | |
tree | ff5e1d03e19ab46fcc7523609a613ffa56a13119 /lib/libc/compat-43 | |
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/libc/compat-43')
-rw-r--r-- | lib/libc/compat-43/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/compat-43/Makefile.inc b/lib/libc/compat-43/Makefile.inc index e6a37906786..dc6901de44b 100644 --- a/lib/libc/compat-43/Makefile.inc +++ b/lib/libc/compat-43/Makefile.inc @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.7 2003/05/08 23:30:01 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.8 2010/02/03 20:49:00 miod Exp $ # compat-43 sources -.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/compat-43 ${LIBCSRCDIR}/compat-43 +.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/compat-43 ${LIBCSRCDIR}/compat-43 SRCS+= creat.c getdtablesize.c gethostid.c getwd.c killpg.c sethostid.c \ setpgrp.c sigcompat.c |