summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-12-19 19:47:05 +0000
committernate <nate@FreeBSD.org>1995-12-19 19:47:05 +0000
commitb885d679c055d4a8329a14535e736416c33151a3 (patch)
tree861ab23e3778f6803d49357a51b03793b9a90747 /sys/libkern
parentb2211e8f348ba0d1359fa0621e3df59a8bdc4710 (diff)
downloadFreeBSD-src-b885d679c055d4a8329a14535e736416c33151a3.zip
FreeBSD-src-b885d679c055d4a8329a14535e736416c33151a3.tar.gz
Add-back strlen.c to the library in case a kernel is compiled without
optimization. Gcc only in-lines calls to strlen with optimization turned on.
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/libkern/Makefile b/sys/libkern/Makefile
index 2297c08..686f3de 100644
--- a/sys/libkern/Makefile
+++ b/sys/libkern/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 7.9 (Berkeley) 6/1/93
-# $Id: Makefile,v 1.10 1995/10/05 14:46:07 phk Exp $
+# $Id: Makefile,v 1.11 1995/11/08 08:40:09 phk Exp $
.undef NOPROFILE
@@ -7,17 +7,16 @@ LIB= kern
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/.. -DKERNEL
# Stuff we call from the kernel
-SRCS+= mcount.c
-SRCS+= qsort.c
-SRCS+= strcpy.c strcmp.c strncpy.c strncmp.c strcat.c
-SRCS+= skpc.c scanc.c random.c inet_ntoa.c
+SRCS+= inet_ntoa.c mcount.c qsort.c
+SRCS+= random.c scanc.c skpc.c
+SRCS+= strcat.c strcmp.c strcpy.c strlen.c strncmp.c strncpy.c
# Stuff GCC generates
SRCS+= divdi3.c udivdi3.c moddi3.c umoddi3.c
SRCS+= qdivrem.c
# Stuff which isn't currently used, if at all..
-# SRCS+= bcmp.c ffs.c locc.c rindex.c strlen.c
+# SRCS+= bcmp.c ffs.c locc.c rindex.c
# Stuff GCC may need....
# SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c
OpenPOWER on IntegriCloud