Move minimal libc from libsys into separate lib.

Now users can choose between libsys, libsys + libminc and
libsys + libc. E.g. PUFFS/FUSE servers need libsys + libc while
old servers can use libsys + libminc.
This commit is contained in:
Evgeniy Ivanov
2011-07-09 17:17:12 +04:00
committed by Ben Gras
parent c63a0cfddc
commit 5da4a0bd56
12 changed files with 14 additions and 9 deletions

View File

@@ -28,9 +28,9 @@ LDFLAGS+= -nostdlib -L${LIBDIR}
LDADD+= -lminlib
DPADD+= ${LIBMINLIB}
.if ${CC} == "gcc"
LDADD+= -lgcc -lsys -lgcc
LDADD+= -lgcc -lsys -lgcc -lminc
.elif ${CC} == "clang"
LDADD+= -L/usr/pkg/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic
LDADD+= -L/usr/pkg/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
DPADD+= ${LIBC}
.endif
.endif