aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2006-11-06 22:07:47 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2006-11-06 22:07:47 +0000
commit05b432d2d18bddd0672b3cde6aad1680c174321f (patch)
treeefac90a6f6eae6d12be3852a204d1a350f143b34 /lib/libstand
parentbda8b1f3b8256cb1fe79fcefe5715289857f2ca4 (diff)
Notes
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index c6cee39eab52..a06cf514cd02 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -37,13 +37,9 @@ SRCS+= zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
# private (pruned) versions of libc string functions
SRCS+= strcasecmp.c
-# byte order functions from libc
-.if ${MACHINE_ARCH} != "amd64"
-.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/net
-.else
-.PATH: ${.CURDIR}/../libc/i386/net
-.endif
-SRCS+= htons.S ntohs.S htonl.S ntohl.S
+.PATH: ${.CURDIR}/../libc/net
+
+SRCS+= ntoh.c
# string functions from libc
.PATH: ${.CURDIR}/../libc/string