diff options
author | 2015-08-31 19:43:39 +0000 | |
---|---|---|
committer | 2015-08-31 19:43:39 +0000 | |
commit | a77d36b8d6e79f7f569f29e21c9be82b94098205 (patch) | |
tree | 503b07ede3ecd77b5666c9bea7861a40b04e9ecf /lib/libc | |
parent | two fairly simple sizes for free() (diff) | |
download | wireguard-openbsd-a77d36b8d6e79f7f569f29e21c9be82b94098205.tar.xz wireguard-openbsd-a77d36b8d6e79f7f569f29e21c9be82b94098205.zip |
only 32-bit systems need the quad functions.
skipping a libc crank since unused in base on 64bit systems
discussed with miod, tedu; ok kettenis
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/Makefile.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/Makefile.inc b/lib/libc/Makefile.inc index d6b30e1c593..e2ae5e372f4 100644 --- a/lib/libc/Makefile.inc +++ b/lib/libc/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.23 2015/08/31 02:53:56 guenther Exp $ +# $OpenBSD: Makefile.inc,v 1.24 2015/08/31 19:43:39 deraadt Exp $ # # This file contains make rules used to build libc # @@ -42,9 +42,15 @@ AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include .include "${LIBCSRCDIR}/asr/Makefile.inc" .include "${LIBCSRCDIR}/net/Makefile.inc" .include "${LIBCSRCDIR}/nls/Makefile.inc" -.if (${MACHINE_CPU} != "alpha") + +# 32-bit systems need these +.if (${MACHINE_CPU} == "i386") || (${MACHINE_CPU} == "powerpc") || \ + (${MACHINE_CPU} == "hppa") || (${MACHINE_CPU} == "arm") || \ + (${MACHINE_CPU} == "sparc") || (${MACHINE_CPU} == "vax") || \ + (${MACHINE_CPU} == "sh") || (${MACHINE_CPU} == "m88k") .include "${LIBCSRCDIR}/quad/Makefile.inc" .endif + .include "${LIBCSRCDIR}/regex/Makefile.inc" .include "${LIBCSRCDIR}/rpc/Makefile.inc" .include "${LIBCSRCDIR}/stdio/Makefile.inc" |