summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-04-30 09:13:48 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-04-30 09:13:48 +0000
commitcf6229a8541a31238467b1661a82230e4f1bb62d (patch)
treee983c1ce4b6a0181a2e820771b9b9e5362c02d7a /lib/libc
parent7bb870ac660861b09ca8593ddd2ef73b4ccc5d70 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/Makefile.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index d36a7a257e07..02208baeb1b3 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,5 +1,5 @@
# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
-# $Id: Makefile.inc,v 1.49 1998/03/23 21:04:06 jb Exp $
+# $Id: Makefile.inc,v 1.50 1998/03/28 11:48:48 dufault Exp $
# sys sources
.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/sys ${.CURDIR}/../libc/sys
@@ -26,7 +26,12 @@ SRCS+= netbsd_getdirentries.c netbsd_msync.c netbsd_stat.c netbsd_swapon.c
.endif
# Sources common to both syscall interfaces:
-SRCS+= __error.c ftruncate.c lseek.c mmap.c truncate.c
+SRCS+= ftruncate.c lseek.c mmap.c truncate.c
+
+# Build __error() into libc, but not libc_r which has it's own:
+.if ${LIB} == "c"
+SRCS+= __error.c
+.endif
# Add machine dependent asm sources:
SRCS+=${MDASM}