summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2013-04-28 16:35:24 +0000
committerrwatson <rwatson@FreeBSD.org>2013-04-28 16:35:24 +0000
commitf53b49b70c849567dc5a16d77c4dc220f82e382f (patch)
treee250b4867514322584ef09ad8f141c65bbae1f6e /lib/libstand
parentc36b497924614eace9cf6f35d916c1b9df545e06 (diff)
downloadFreeBSD-src-f53b49b70c849567dc5a16d77c4dc220f82e382f.zip
FreeBSD-src-f53b49b70c849567dc5a16d77c4dc220f82e382f.tar.gz
Enable building string functions as part of libstand on mips; the Makefile
is a bit obfuscated here, as ia64 adds string source files elsewhere, so simply exclude it here. Reviewed by: imp MFC after: 3 days Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 4241933..506b564 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -54,9 +54,7 @@ SRCS+= ntoh.c
# string functions from libc
.PATH: ${.CURDIR}/../libc/string
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "powerpc" || \
- ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "amd64" || \
- ${MACHINE_CPUARCH} == "arm"
+.if ${MACHINE_CPUARCH} != "ia64"
SRCS+= bcmp.c bcopy.c bzero.c ffs.c memccpy.c memchr.c memcmp.c memcpy.c \
memmove.c memset.c qdivrem.c strcat.c strchr.c strcmp.c strcpy.c \
strcspn.c strlen.c strncat.c strncmp.c strncpy.c strpbrk.c \
OpenPOWER on IntegriCloud