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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user