summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libcompat/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile
index 8940719..54d56a9 100644
--- a/lib/libcompat/Makefile
+++ b/lib/libcompat/Makefile
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB=compat
-CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
+CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -DCOMPAT_WEAK_SEEDING
AINC= -I${.CURDIR}/../libc/${MACHINE}
NOPIC=
@@ -9,11 +9,15 @@ NOPIC=
${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \
${.CURDIR}/4.4/${MACHINE} ${.CURDIR}/4.4 \
${.CURDIR}/regexp \
- ${.CURDIR}/SysV
+ ${.CURDIR}/SysV \
+ ${.CURDIR}/../libc/stdlib
+
+# will be removed with the next FreeBSD release
+SRCS= random.c
# compat 4.1 sources
# XXX MISSING: tell.c vlimit.c vtimes.c
-SRCS= ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
+SRCS+= ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
.if (${MACHINE} == "vax")
SRCS+= reset.s
OpenPOWER on IntegriCloud