diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-31 19:43:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-08-31 19:43:40 +0000 |
commit | e1ae1b7293bd2fb6b99878543a67b7267a4bfab1 (patch) | |
tree | 2ff293e941152b8e23ebc800d512eef4ed681605 | |
parent | f7126f79d21f045e286e35885f8274c64cdb2bd1 (diff) |
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
-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" |